diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-03-28 13:47:27 +0400 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-03-28 13:47:27 +0400 |
| commit | d3d178fac781bd64d53d224d8f2bf7619e569db4 (patch) | |
| tree | 1997655fb6fcc12ab782afd3cb0ac85cc2a7ae70 /wiki/Configuration:-Window-Rules.md | |
| parent | 30911023654b1f1028eb41bade9b1627d3c8344a (diff) | |
| download | niri-d3d178fac781bd64d53d224d8f2bf7619e569db4.tar.gz niri-d3d178fac781bd64d53d224d8f2bf7619e569db4.tar.bz2 niri-d3d178fac781bd64d53d224d8f2bf7619e569db4.zip | |
wiki: Mention niri msg focused-window
Diffstat (limited to 'wiki/Configuration:-Window-Rules.md')
| -rw-r--r-- | wiki/Configuration:-Window-Rules.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/wiki/Configuration:-Window-Rules.md b/wiki/Configuration:-Window-Rules.md index 09f36333..869350c3 100644 --- a/wiki/Configuration:-Window-Rules.md +++ b/wiki/Configuration:-Window-Rules.md @@ -117,8 +117,10 @@ window-rule { } ``` +You can find the title and the app ID of the currently focused window by running `niri msg focused-window`. + > [!TIP] -> 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: +> 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: > > ```json > "wlr/taskbar": { |
