From c45d36eaa6be336e64e19f64bcdeacaa18cacce2 Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Wed, 13 Oct 2021 11:30:59 -0600 Subject: Remove modifiers for "visual" and "mouse" modes. Swap Hyper and Super. Hyper is supported by XMonad, but not by many other applications, thus, I'd like to leave the more widely supported Super key available for mapping in individual applications and use Hyper to control XMonad. Add indications via Caps and Num Lock LEDs that I'm in "Vi" mode. --- jrcompat | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'jrcompat') diff --git a/jrcompat b/jrcompat index a75523d..234ac4e 100644 --- a/jrcompat +++ b/jrcompat @@ -8,6 +8,26 @@ default xkb_compatibility "jrcompat" { augment "level5" augment "caps(caps_lock)" + indicator "Caps Lock" { + modifiers = None; + groups = all-group1; + }; + + indicator "Num Lock" { + modifiers = None; + groups = all-group1; + }; + + indicator "Scroll Lock" { + modifiers = None; + groups = all-group1; + }; + + indicator "Misc" { + modifiers = None; + groups = all-group1; + }; + interpret User { action= LockGroup(group=2); }; -- cgit