aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2024-03-28 13:47:27 +0400
committerIvan Molodetskikh <yalterz@gmail.com>2024-03-28 13:47:27 +0400
commitd3d178fac781bd64d53d224d8f2bf7619e569db4 (patch)
tree1997655fb6fcc12ab782afd3cb0ac85cc2a7ae70
parent30911023654b1f1028eb41bade9b1627d3c8344a (diff)
downloadniri-d3d178fac781bd64d53d224d8f2bf7619e569db4.tar.gz
niri-d3d178fac781bd64d53d224d8f2bf7619e569db4.tar.bz2
niri-d3d178fac781bd64d53d224d8f2bf7619e569db4.zip
wiki: Mention niri msg focused-window
-rw-r--r--wiki/Configuration:-Window-Rules.md4
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": {