wiki: Mention niri msg focused-window
Browse files at this commitd3d178fac781bd64d53d224d8f2bf7619e569db4Parent: 30911021 changed file +3 -1
wiki/Configuration:-Window-Rules.mdmodified+3 -1
| @@ -117,8 +117,10 @@ window-rule { | |||
| 117 | } | 117 | } |
| 118 | ``` | 118 | ``` |
| 119 | 119 | ||
| 120 | +You can find the title and the app ID of the currently focused window by running `niri msg focused-window`. | ||
| 121 | + | ||
| 120 | > [!TIP] | 122 | > [!TIP] |
| 121 | -> One 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: | 123 | +> 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: |
| 122 | > | 124 | > |
| 123 | > ```json | 125 | > ```json |
| 124 | > "wlr/taskbar": { | 126 | > "wlr/taskbar": { |