diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2015-05-23 14:07:42 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2015-05-23 14:07:42 +1200 |
commit | edce3c335ba54676ac48454c230815b286156952 (patch) | |
tree | 83ddbcd11e042e4fe31faba344cc8ee69f3bb9a7 | |
parent | Use \C-j for newline instead of \n (diff) | |
download | dotfiles-edce3c335ba54676ac48454c230815b286156952.tar.gz dotfiles-edce3c335ba54676ac48454c230815b286156952.zip |
Use xkb not xmodmap for Caps Lock remap
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | X/xinitrc | 4 | ||||
-rw-r--r-- | X/xmodmap | 3 |
3 files changed, 2 insertions, 6 deletions
@@ -202,7 +202,6 @@ install-x : install -m 0644 -- X/Xresources "$(HOME)"/.Xresources install -m 0644 -- X/xbindkeysrc "$(HOME)"/.xbindkeysrc install -m 0644 -- X/xinitrc "$(HOME)"/.xinitrc - install -m 0644 -- X/xmodmap "$(HOME)"/.xmodmap test : test-sh test-bash test-bin test-urxvt @@ -1,8 +1,8 @@ # Read X resources xrdb "$HOME"/.Xresources -# Apply xmodmap definitions -xmodmap "$HOME"/.xmodmap +# Map Caps Lock as a Ctrl key +setxkbmap -option ctrl:nocaps # Apply background image feh --bg-scale -- "$HOME"/.i3/draugen.jpg diff --git a/X/xmodmap b/X/xmodmap deleted file mode 100644 index 848bd5ce..00000000 --- a/X/xmodmap +++ /dev/null @@ -1,3 +0,0 @@ -keycode 66 = Control_L -clear Lock -add Control = Control_L |