From 4a5266563deef3107290b6b54b52b2c3fcbe05a8 Mon Sep 17 00:00:00 2001 From: Brendan Taylor Date: Tue, 4 Oct 2011 22:24:59 +0000 Subject: NEW COMMAND: 'toggle' toggles a variable between 0 and 1, or cycles a it through several possibilities --- README | 5 +++++ 1 file changed, 5 insertions(+) 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 [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 -- cgit v1.2.3