mirror of
https://github.com/YaLTeR/niri.git
synced 2025-10-05 16:12:47 +02:00
wiki: Recommend pick-window instead of focused-window
focused-window is only useful for querying terminal windows (unless combined with sleep or similar tricks.)
This commit is contained in:
committed by
Ivan Molodetskikh
parent
640e2b08a8
commit
1b41ef146d
@@ -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:
|
||||
|
Reference in New Issue
Block a user