diff options
| author | Tim Ruffing <dev@real-or-random.org> | 2025-10-01 11:22:11 +0200 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2025-10-02 10:14:23 +0300 |
| commit | 1b41ef146d7ae73a6686aeb2454af5965976b271 (patch) | |
| tree | 9f6a11b511d9f7acb9a3e2b837575ea491e7a3cc | |
| parent | 640e2b08a86567f670d65fbb5fce64651061d3f9 (diff) | |
| download | niri-1b41ef146d7ae73a6686aeb2454af5965976b271.tar.gz niri-1b41ef146d7ae73a6686aeb2454af5965976b271.tar.bz2 niri-1b41ef146d7ae73a6686aeb2454af5965976b271.zip | |
wiki: Recommend pick-window instead of focused-window
focused-window is only useful for querying terminal windows
(unless combined with sleep or similar tricks.)
| -rw-r--r-- | docs/wiki/Configuration:-Window-Rules.md | 2 |
1 files changed, 1 insertions, 1 deletions
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: |
