]> git.rmz.io Git - dotfiles.git/blobdiff - xprofile
xkb: use xcape to map CAPS to Ctrl & Esc
[dotfiles.git] / xprofile
index 7eb8f3894e5e3e40d8edc732787b7dcc78229f4d..3161e09b986da22e027b6034e15e47d1c02f6f7f 100644 (file)
--- a/xprofile
+++ b/xprofile
@@ -1,6 +1,7 @@
 start-pulseaudio-x11
 compton -b --config ~/.config/compton.conf
 xautolock -time 10 -locker "i3lock -n -c 000000" -detectsleep &
-xmodmap ~/.Xmodmap
+xkbcomp -I$HOME/.config/xkb $HOME/.config/xkb/$HOST.xkb $DISPLAY
 xbindkeys
+xcape -e "Control_L=Escape;Control_R=Escape"
 urxvtd -q -f -o