aboutsummaryrefslogtreecommitdiff
path: root/doc/asciidoc/client-patterns.txt
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2010-09-11 15:09:07 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2010-09-11 15:09:07 (GMT)
commitfaa4c978885ceacfb75b0088e8c5a362a41794f6 (patch)
tree600e09fafca10e702150abac9e852f8aa6ef38c3 /doc/asciidoc/client-patterns.txt
parent4e2c7e2167a0e0efbfc73c1b226eaafa808736ee (diff)
downloadfluxbox-faa4c978885ceacfb75b0088e8c5a362a41794f6.zip
fluxbox-faa4c978885ceacfb75b0088e8c5a362a41794f6.tar.bz2
added 'SetXProp' action and (@PROP=foo) clientpattern
these two allow 'tagging' of arbitrary windows with 'tags' (or 'labels'). such 'tagged' windows can then be used in ':NextWindow (@PROP=foo)' commands to quickly cycle through a subset of available windows. since the 'tags' are applied as real xproperties to a window they survive a restart of fluxbox or even another windowmanager. the user can also set the tags by using xprop(1). the next step regarding the UI should be to visualize the tags of a window.
Diffstat (limited to 'doc/asciidoc/client-patterns.txt')
-rw-r--r--doc/asciidoc/client-patterns.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/asciidoc/client-patterns.txt b/doc/asciidoc/client-patterns.txt
index 85dac7b..5b00e0c 100644
--- a/doc/asciidoc/client-patterns.txt
+++ b/doc/asciidoc/client-patterns.txt
@@ -64,6 +64,9 @@ The following values are accepted for 'propertyname':::
64*Layer*;; 64*Layer*;;
65 The string name of the window's layer, which is one of 65 The string name of the window's layer, which is one of
66 *AboveDock*, *Dock*, *Top*, *Normal*, *Bottom*, *Desktop* 66 *AboveDock*, *Dock*, *Top*, *Normal*, *Bottom*, *Desktop*
67*@XPROP*;;
68 A string, corresponding to any xproperty (Use either the *xprop(1)*
69 utility or the 'SetXProp' command to set a xproperty to a window)
67 70
68.Matches any windows with the CLASSNAME of "xterm" 71.Matches any windows with the CLASSNAME of "xterm"
69.......... 72..........
@@ -79,3 +82,9 @@ The following values are accepted for 'propertyname':::
79........... 82...........
80(Head=[mouse]) (Layer!=[current]) 83(Head=[mouse]) (Layer!=[current])
81........... 84...........
85
86.Matches any windows having a xproperty named FOO with "bar" in it
87..............
88(@FOO=.*bar.*)
89..............
90