From 1fb356814315ac362218fddfa06a9f8bf7577403 Mon Sep 17 00:00:00 2001 From: Greg Steuck Date: Sun, 13 Oct 2019 12:12:01 -0700 Subject: 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)" }; }; --- src/Xmobar/Plugins/Kbd.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3