Replace Caps Lock with Hyper

This commit is contained in:
Josh Sherman 2022-06-06 17:24:16 -05:00
parent bfd4b0d6bf
commit 2abaf751f5
No known key found for this signature in database
GPG key ID: 55B058A80530EF22
3 changed files with 9 additions and 0 deletions

View file

@ -27,6 +27,8 @@ stow git screen vim zsh
if [[ `uname` == Darwin ]]; then
stow macos
else
stow xmodmap
fi
cd "$HOME" || exit

6
xmodmap/.Xmodmap Normal file
View file

@ -0,0 +1,6 @@
! Set Caps Lock to Hyper
remove mod4 = Hyper_L
add mod3 = Hyper_L
clear lock
keysym Caps_Lock = Hyper_L
add lock = Caps_Lock

1
xmodmap/.xinitrc Normal file
View file

@ -0,0 +1 @@
[[ -f ~/.Xmodmap ]] && xmodmap ~/.Xmodmap