diff options
author | markt <markt> | 2007-11-22 04:07:57 (GMT) |
---|---|---|
committer | markt <markt> | 2007-11-22 04:07:57 (GMT) |
commit | 675bc5d66aa08311e99cb00cf836d16a910a73df (patch) | |
tree | 9118f77bcc38631f944cdf4a07d2173011a29a9b /ChangeLog | |
parent | 08ebff4b319f51b4263cded0bb9c04103bcd9c3a (diff) | |
download | fluxbox-675bc5d66aa08311e99cb00cf836d16a910a73df.zip fluxbox-675bc5d66aa08311e99cb00cf836d16a910a73df.tar.bz2 |
added conditional statements to keys file
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -1,5 +1,23 @@ | |||
1 | (Format: Year/Month/Day) | 1 | (Format: Year/Month/Day) |
2 | Changes for 1.0.1: | 2 | Changes for 1.0.1: |
3 | *07/11/22: | ||
4 | * Added conditional statements to key commands (Mark) | ||
5 | - for example, this will search for an open xterm window, cycle through | ||
6 | them if there are any, or else open one: | ||
7 | Mod4 t :If {Some Matches (xterm)} {NextWindow (xterm)} {Exec xterm} | ||
8 | - the syntax is :If {<test>} {<command if true>} {<command if false>} | ||
9 | - `Matches <pattern>' is currently the only test you can make; when used | ||
10 | alone, it tests the focused window or the clicked window for OnWindow | ||
11 | mouse events | ||
12 | - there are many ways to combine tests: | ||
13 | - `Some <test>' returns true if any open client matches <test> | ||
14 | - `Every <test>' returns true if every open client matches <test> | ||
15 | - `Not <test>' negates the value of <test> | ||
16 | - `Or {<test>} {<test>} ...' returns true if any of the tests is true | ||
17 | - `And {<test>} {<test>} ...' returns true if all of the tests are true | ||
18 | - `Xor {<test>} {<test>} ...' returns the boolean xor of the truth values | ||
19 | FbCommandFactory.cc CurrentWindowCmd.cc/hh WorkspaceCmd.cc/hh | ||
20 | FbTk/Command.hh FbTk/SimpleCommand.hh, added files FbTk/LogicCommands.cc/hh | ||
3 | *07/11/16: | 21 | *07/11/16: |
4 | * Added new key command :Focus [<pattern>] that focuses a window (e.g., using | 22 | * Added new key command :Focus [<pattern>] that focuses a window (e.g., using |
5 | OnWindow or specified using a window pattern) (Mark, thanks Tomas Janousek) | 23 | OnWindow or specified using a window pattern) (Mark, thanks Tomas Janousek) |