aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Brendan Taylor <whateley@gmail.com>2011-10-04 22:24:59 +0000
committerGravatar Brendan Taylor <whateley@gmail.com>2011-11-23 18:38:06 -0700
commit4a5266563deef3107290b6b54b52b2c3fcbe05a8 (patch)
treed4aae10389788aca2b284a56112d9c2fa650cbc8
parent89e8d33c1c86c626fba57b1f24a503246d6718ce (diff)
NEW COMMAND: 'toggle'
toggles a variable between 0 and 1, or cycles a it through several possibilities
-rw-r--r--README5
1 files changed, 5 insertions, 0 deletions
diff --git a/README b/README
index 836260e..2ef6c8d 100644
--- a/README
+++ b/README
@@ -195,6 +195,11 @@ The following commands are recognized:
the status bar react immediately.
- If you want to unset a string, use `set` with one space after the equals
sign.
+* `toggle <var> [possibilities]`
+ - Cycles the variable `var` through the list of options given in
+ `possibilities`.
+ - If `possibilities` are not given and the variable is an int or a float,
+ toggles between 0 and 1.
* `dump_config`
- Dumps the current config (which may have been changed at runtime) to stdout.
- Uses a format which can be piped into `uzbl` again or saved as a config