aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorIsaac Garzon <iscgarzon@gmail.com>2021-07-23 14:19:36 +0300
committerIsaac Garzon <iscgarzon@gmail.com>2021-07-24 22:18:58 +0300
commit3a818c0f20d08160380a4dca52e1e87f54e8efa3 (patch)
tree209f5808fb0a2bcd2363b276bac7260eb248a116 /docs
parentabbf6a85d712ef1790b02122eb432e4bafe20576 (diff)
downloadi3-3a818c0f20d08160380a4dca52e1e87f54e8efa3.tar.gz
i3-3a818c0f20d08160380a4dca52e1e87f54e8efa3.zip
Implement 'all' matching criterion
This criterion matches all open windows, as a more readable (and correct) version of the 'class=".*"' criterion (more correct because it'll also match windows which don't have WM_CLASS set yet).
Diffstat (limited to 'docs')
-rw-r--r--docs/userguide5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/userguide b/docs/userguide
index 05eb4aac..9f28e689 100644
--- a/docs/userguide
+++ b/docs/userguide
@@ -1959,12 +1959,17 @@ bindsym $mod+x [class="Firefox" window_role="About"] kill
# enable floating mode and move container to workspace 4
for_window [class="^evil-app$"] floating enable, move container to workspace 4
+# enable window icons for all windows with extra horizontal padding of 1px
+for_window [all] title_window_icon padding 1px
+
# move all floating windows to the scratchpad
bindsym $mod+x [floating] move scratchpad
------------------------------------
The criteria which are currently implemented are:
+all::
+ Matches all windows. This criterion requires no value.
class::
Compares the window class (the second part of WM_CLASS). Use the
special value +\_\_focused__+ to match all windows having the same window