Alias capslock to ctrl

This commit is contained in:
2020-07-19 08:36:04 +09:00
parent e54361db00
commit 0e17fd4171
3 changed files with 8 additions and 0 deletions

4
linux/Xmodmap Normal file
View File

@@ -0,0 +1,4 @@
clear lock
clear control
keycode 66 = Control_L
add control = Control_L Control_R

View File

@@ -1,2 +1,5 @@
#!/bin/bash
[[ -f ~/.Xmodmap ]] && xmodmap ~/.Xmodmap
[[ -f ~/.Xresources ]] && xrdb -merge -I$HOME ~/.Xresources
exec bspwm

View File

@@ -40,6 +40,7 @@ const linux: DotOption = {
"linux/xinitrc": ".xinitrc",
"linux/pam_environment": ".pam_environment",
"linux/zshrc": ".zshrc",
"linux/Xmodmap": ".Xmodmap",
},
};