wiki: Recommend pick-window instead of focused-window
Browse files at this commit1b41ef146d7ae73a6686aeb2454af5965976b271Parent: 640e2b01 changed file +1 -1
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: |