Using xmodmap for caps lock -> control, and Xcape for tap caps -> Esc

master
Dustin Swan 12 years ago
parent 65d8d54d79
commit e4b4f9a499

@ -1 +1,5 @@
pointer = 1 2 3 5 4 6 7 8 9 10 11 12
remove Lock = Caps_Lock
keysym Caps_Lock = Control_L
add Control = Control_L

@ -1,6 +1,8 @@
xrdb ~/.Xresources &
setxkbmap -layout dvorak -option ctrl:nocaps
setxkbmap -layout dvorak
# -option ctrl:nocaps
xmodmap .Xmodmap &
xcape &
urxvtd -q -o -f &
compton &
xsetroot -solid black -cursor_name left_ptr &

Loading…
Cancel
Save