commit 3bff475874f9cd7df5e9de45b2e3596663f59bb2 parent 3aafc528e0cefaf151fbc1c9980414cbce2c195b Author: Ed van Bruggen <ed@edryd.org> Date: Tue, 24 Oct 2017 22:22:13 -0700 x: Run xmodmap and xcape Diffstat:
bin/vim-keys.xmodmap | | | 6 | +++--- |
xinitrc | | | 4 | +++- |
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/bin/vim-keys.xmodmap b/bin/vim-keys.xmodmap @@ -1,8 +1,8 @@ -! remove Caps Lock -clear lock +! remove Caps Lock behavior +clear Lock remove Lock = Caps_Lock remove Shift = Caps_Lock -! add Mode_switch +! set Caps Lock to Mode_switch keycode 66 = NoSymbol NoSymbol keycode 66 = Mode_switch diff --git a/xinitrc b/xinitrc @@ -14,8 +14,10 @@ nm-applet & # network monitor pnmixer & # volume control slstatus & # dwm status bar -sxhkd & # key commands +sxhkd & # key commands +xmodmap ~/bin/vim-keys.xmodmap +xcape -e 'Mode_switch=Escape' screen.sh & # configure monitors