mirror of
https://github.com/swaywm/sway.git
synced 2025-11-02 09:01:40 -05:00
Introduce pid criteria token
This can be used as a workaround to flag terminal windows as urgent when commands are completed, until urgency is introduced in the Wayland protocol. Configure your shell to run `swaymsg "[pid=$PPID] urgent enable"` when commands are completed, and use a terminal which uses one process per window.
This commit is contained in:
parent
5ed01c861a
commit
2045ac3472
3 changed files with 21 additions and 1 deletions
|
|
@ -850,6 +850,9 @@ The following attributes may be matched with:
|
|||
value is \_\_focused\_\_, then the window instance must be the same as that
|
||||
of the currently focused window.
|
||||
|
||||
*pid*
|
||||
Compare value against the window's process ID. Must be numeric.
|
||||
|
||||
*shell*
|
||||
Compare value against the window shell, such as "xdg_shell" or "xwayland".
|
||||
Can be a regular expression. If value is \_\_focused\_\_, then the shell
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue