aboutsummaryrefslogtreecommitdiffstats
path: root/sway/sway.5.scd
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2019-10-02 17:36:52 +1000
committerLibravatar Drew DeVault <sir@cmpwn.com>2020-02-27 14:03:22 +0100
commit2045ac3472196d6839569bccd436cde45ef6ca61 (patch)
tree999ec63750a37f18a67f35307dc1d72c9ca2a87e /sway/sway.5.scd
parentAdd support for wlr-output-power-management-unstable-v1 (diff)
downloadsway-2045ac3472196d6839569bccd436cde45ef6ca61.tar.gz
sway-2045ac3472196d6839569bccd436cde45ef6ca61.tar.zst
sway-2045ac3472196d6839569bccd436cde45ef6ca61.zip
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.
Diffstat (limited to 'sway/sway.5.scd')
-rw-r--r--sway/sway.5.scd3
1 files changed, 3 insertions, 0 deletions
diff --git a/sway/sway.5.scd b/sway/sway.5.scd
index 6b2ad1b1..ad5dacc8 100644
--- a/sway/sway.5.scd
+++ b/sway/sway.5.scd
@@ -850,6 +850,9 @@ The following attributes may be matched with:
850 value is \_\_focused\_\_, then the window instance must be the same as that 850 value is \_\_focused\_\_, then the window instance must be the same as that
851 of the currently focused window. 851 of the currently focused window.
852 852
853*pid*
854 Compare value against the window's process ID. Must be numeric.
855
853*shell* 856*shell*
854 Compare value against the window shell, such as "xdg_shell" or "xwayland". 857 Compare value against the window shell, such as "xdg_shell" or "xwayland".
855 Can be a regular expression. If value is \_\_focused\_\_, then the shell 858 Can be a regular expression. If value is \_\_focused\_\_, then the shell