From d3d178fac781bd64d53d224d8f2bf7619e569db4 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Thu, 28 Mar 2024 13:47:27 +0400 Subject: [PATCH] wiki: Mention niri msg focused-window --- wiki/Configuration:-Window-Rules.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wiki/Configuration:-Window-Rules.md b/wiki/Configuration:-Window-Rules.md index 09f3633..869350c 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": {