diff options
author | Martin Perner <martin@perner.cc> | 2011-08-24 16:05:28 +0200 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2011-08-31 20:30:20 +0200 |
commit | edbd1b22085c18f768a9f9702faabe9989c500eb (patch) | |
tree | a252a87c5f0fe56a565b2f2962d2fe50d38fa8a0 /README | |
parent | d5342adf4ea385eeb5da3ac95a62d53aa2db221b (diff) | |
download | xmobar-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-- | README | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -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 |