From 1b41ef146d7ae73a6686aeb2454af5965976b271 Mon Sep 17 00:00:00 2001 From: Tim Ruffing Date: Wed, 1 Oct 2025 11:22:11 +0200 Subject: wiki: Recommend pick-window instead of focused-window focused-window is only useful for querying terminal windows (unless combined with sleep or similar tricks.) --- docs/wiki/Configuration:-Window-Rules.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/wiki/Configuration:-Window-Rules.md b/docs/wiki/Configuration:-Window-Rules.md index 66267560..0df6d0a1 100644 --- a/docs/wiki/Configuration:-Window-Rules.md +++ b/docs/wiki/Configuration:-Window-Rules.md @@ -172,7 +172,7 @@ window-rule { } ``` -You can find the title and the app ID of the currently focused window by running `niri msg focused-window`. +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. > [!TIP] > 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: -- cgit