From 5ff0acdf4337218cf7349ba9fc233c3da75cf05a Mon Sep 17 00:00:00 2001 From: Martin Perner Date: Sun, 17 Jul 2011 17:54:44 +0200 Subject: Added Keyboard Layout Indicator Plugin --- README | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'README') diff --git a/README b/README index 7acb0c8..54d0720 100644 --- a/README +++ b/README @@ -683,6 +683,8 @@ Monitors have default aliases. distribution can be used to set the given property from the output of any other program or script. +[samples/xmonadpropwrite.hs script]: https://github.com/jaor/xmobar/raw/master/samples/xmonadpropwrite.hs + `Brightness Args RefreshRate` - Aliases to `bright` @@ -700,8 +702,19 @@ Monitors have default aliases. Run Brightness ["-t", ""] 60 +`Kbd Opts` + +- 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) +- Example: + + Run Kbd [] ["-s", "us(dvorak)", "-r", "DV", "-s", "us", "-r", "US"] "kbd" -[samples/xmonadpropwrite.hs script]: https://github.com/jaor/xmobar/raw/master/samples/xmonadpropwrite.hs ## Monitor Plugins Commands Arguments -- cgit v1.2.3