summaryrefslogtreecommitdiffhomepage
path: root/README
diff options
context:
space:
mode:
authorMartin Perner <martin@perner.cc>2011-08-24 16:05:28 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2011-08-31 20:30:20 +0200
commitedbd1b22085c18f768a9f9702faabe9989c500eb (patch)
treea252a87c5f0fe56a565b2f2962d2fe50d38fa8a0 /README
parentd5342adf4ea385eeb5da3ac95a62d53aa2db221b (diff)
downloadxmobar-edbd1b22085c18f768a9f9702faabe9989c500eb.tar.gz
xmobar-edbd1b22085c18f768a9f9702faabe9989c500eb.tar.bz2
Changed parameters
there is still the bug this plugin needs to be the last or parsing the config file fails
Diffstat (limited to 'README')
-rw-r--r--README9
1 files changed, 4 insertions, 5 deletions
diff --git a/README b/README
index 7e10488..25fb388 100644
--- a/README
+++ b/README
@@ -707,13 +707,12 @@ Monitors have default aliases.
- Registers to XKB/X11-Events and output the currently active keyboard layout.
Supports replacement of layoutnames.
- Aliases to `kbd`
-- Opts
- - `-e`: String displayed on an error while accessing X (default: "Err")
- - `-s`: Search string, can be used multiple times (optional)
- - `-r`: Replacement string, one for every Search should be given (optional)
+- Opts is a list of tuple:
+ - first element of the tuple is the search string
+ - second element of the tuple is the corresponding replacement
- Example:
- Run Kbd ["-s", "us(dvorak)", "-r", "DV", "-s", "us", "-r", "US"]
+ Run Kbd [("us(dvorak)", "DV"), ("us", "US")]
## Monitor Plugins Commands Arguments