forge
Explore
Log in

Don't you dare go Hollow

wiki: Recommend pick-window instead of focused-window

Browse files at this commit

1b41ef146d7ae73a6686aeb2454af5965976b271Tim RuffingParent: 640e2b0
focused-window is only useful for querying terminal windows
(unless combined with sleep or similar tricks.)
docs/wiki/Configuration:-Window-Rules.mdmodified+1 -1
@@ -172,7 +172,7 @@ window-rule {
172 }172 }
173 ```173 ```
174 174
175-You can find the title and the app ID of the currently focused window by running `niri msg focused-window`.175+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.
176 176
177 > [!TIP]177 > [!TIP]
178 > 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:178 > 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: