diff options
Diffstat (limited to 'doc/asciidoc')
-rw-r--r-- | doc/asciidoc/client-patterns.txt | 9 | ||||
-rw-r--r-- | doc/asciidoc/fluxbox-keys.txt | 8 |
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 | |||
330 | Workspace Commands | 334 | Workspace Commands |
331 | ~~~~~~~~~~~~~~~~~~ | 335 | ~~~~~~~~~~~~~~~~~~ |
332 | These commands affect the entire workspace (or "desktop" as it is sometimes | 336 | These 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: |
645 | ChangeWorkspace :Exec fbsetbg ~/.fluxbox/bg$(xprop -root _NET_CURRENT_DESKTOP | awk '{print $3}').png | 649 | ChangeWorkspace :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' | ||
652 | Mod4 p Mod4 Tab :NextWindow (@PROP=foo) | ||
646 | .................. | 653 | .................. |
647 | 654 | ||
655 | |||
648 | AUTHORS | 656 | AUTHORS |
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) |