wiki: Recommend pick-window instead of focused-window

focused-window is only useful for querying terminal windows
(unless combined with sleep or similar tricks.)
This commit is contained in:
Tim Ruffing
2025-10-01 11:22:11 +02:00
committed by Ivan Molodetskikh
parent 640e2b08a8
commit 1b41ef146d

View File

@@ -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: