summaryrefslogtreecommitdiffhomepage
path: root/src/Xmobar/Plugins
diff options
context:
space:
mode:
authorGreg Steuck <greg@nest.cx>2019-10-13 12:12:01 -0700
committerjao <jao@gnu.org>2019-10-13 20:50:43 +0100
commit1fb356814315ac362218fddfa06a9f8bf7577403 (patch)
tree215f836da8c30def408f74f84e3424d8062ec3cf /src/Xmobar/Plugins
parent004aa4e3f9eef1383f572d7b87c7eee1c0bc9b18 (diff)
downloadxmobar-1fb356814315ac362218fddfa06a9f8bf7577403.tar.gz
xmobar-1fb356814315ac362218fddfa06a9f8bf7577403.tar.bz2
Plugins/Kbd: ignore "terminate" layout token
This fixes printing of Kbd from terminate(ctrl_alt_bksp) to RU as expected given this config stanza: , Run Kbd [("us", "US"), ("ru", "RU")] and this layout: % setxkbmap -print xkb_keymap { xkb_keycodes { include "xfree86+aliases(qwerty)" }; xkb_types { include "complete" }; xkb_compat { include "complete" }; xkb_symbols { include "pc+us+inet(pc105)+terminate(ctrl_alt_bksp)+ru:2+capslock(grouplock)" }; xkb_geometry { include "pc(pc105)" }; };
Diffstat (limited to 'src/Xmobar/Plugins')
-rw-r--r--src/Xmobar/Plugins/Kbd.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Xmobar/Plugins/Kbd.hs b/src/Xmobar/Plugins/Kbd.hs
index a8a8cdc..436359a 100644
--- a/src/Xmobar/Plugins/Kbd.hs
+++ b/src/Xmobar/Plugins/Kbd.hs
@@ -27,7 +27,7 @@ import Xmobar.System.Kbd
-- 'Bad' prefixes of layouts
noLaySymbols :: [String]
-noLaySymbols = ["group", "inet", "ctr", "pc", "ctrl"]
+noLaySymbols = ["group", "inet", "ctr", "pc", "ctrl", "terminate"]
-- splits the layout string into the actual layouts