aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTim Ruffing <dev@real-or-random.org>2025-10-01 11:22:11 +0200
committerIvan Molodetskikh <yalterz@gmail.com>2025-10-02 10:14:23 +0300
commit1b41ef146d7ae73a6686aeb2454af5965976b271 (patch)
tree9f6a11b511d9f7acb9a3e2b837575ea491e7a3cc /docs
parent640e2b08a86567f670d65fbb5fce64651061d3f9 (diff)
downloadniri-1b41ef146d7ae73a6686aeb2454af5965976b271.tar.gz
niri-1b41ef146d7ae73a6686aeb2454af5965976b271.tar.bz2
niri-1b41ef146d7ae73a6686aeb2454af5965976b271.zip
wiki: Recommend pick-window instead of focused-window
focused-window is only useful for querying terminal windows (unless combined with sleep or similar tricks.)
Diffstat (limited to 'docs')
-rw-r--r--docs/wiki/Configuration:-Window-Rules.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/wiki/Configuration:-Window-Rules.md b/docs/wiki/Configuration:-Window-Rules.md
index 66267560..0df6d0a1 100644
--- a/docs/wiki/Configuration:-Window-Rules.md
+++ b/docs/wiki/Configuration:-Window-Rules.md
@@ -172,7 +172,7 @@ window-rule {
}
```
-You can find the title and the app ID of the currently focused window by running `niri msg focused-window`.
+You can find the title and the app ID of a window by running `niri msg pick-window` and clicking on the window in question.
> [!TIP]
> Another way to find the window title and app ID is to configure the `wlr/taskbar` module in [Waybar](https://github.com/Alexays/Waybar) to include them in the tooltip: