aboutsummaryrefslogtreecommitdiff
path: root/doc
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
parent4e2c7e2167a0e0efbfc73c1b226eaafa808736ee (diff)
downloadfluxbox_paul-faa4c978885ceacfb75b0088e8c5a362a41794f6.zip
fluxbox_paul-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')
-rw-r--r--doc/asciidoc/client-patterns.txt9
-rw-r--r--doc/asciidoc/fluxbox-keys.txt8
2 files changed, 17 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
diff --git a/doc/asciidoc/fluxbox-keys.txt b/doc/asciidoc/fluxbox-keys.txt
index 41ad1e2..16bc18c 100644
--- a/doc/asciidoc/fluxbox-keys.txt
+++ b/doc/asciidoc/fluxbox-keys.txt
@@ -327,6 +327,10 @@ two arguments;;
327 heads. If this takes the window beyond the total number of heads, it 327 heads. If this takes the window beyond the total number of heads, it
328 will wrap around to the beginning. 328 will wrap around to the beginning.
329 329
330*SetXProp* 'PROP=value'::
331 Sets the xproperty 'PROP' of the current window to 'value'. Delete the
332 content of 'PROP' by using 'PROP='.
333
330Workspace Commands 334Workspace Commands
331~~~~~~~~~~~~~~~~~~ 335~~~~~~~~~~~~~~~~~~
332These commands affect the entire workspace (or "desktop" as it is sometimes 336These commands affect the entire workspace (or "desktop" as it is sometimes
@@ -643,8 +647,12 @@ Mod4 t :If {Some Matches (xterm)} {NextWindow (xterm)} {Exec xterm}
643 647
644# Set a different wallpaper on every workspace: 648# Set a different wallpaper on every workspace:
645ChangeWorkspace :Exec fbsetbg ~/.fluxbox/bg$(xprop -root _NET_CURRENT_DESKTOP | awk '{print $3}').png 649ChangeWorkspace :Exec fbsetbg ~/.fluxbox/bg$(xprop -root _NET_CURRENT_DESKTOP | awk '{print $3}').png
650
651# Focusses the next window with it's xproperty 'PROP' set to 'foo'
652Mod4 p Mod4 Tab :NextWindow (@PROP=foo)
646.................. 653..................
647 654
655
648AUTHORS 656AUTHORS
649------- 657-------
650- Jim Ramsay <i.am at jimramsay com> (>fluxbox-1.0.0) 658- Jim Ramsay <i.am at jimramsay com> (>fluxbox-1.0.0)