aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile1
-rw-r--r--X/xinitrc4
-rw-r--r--X/xmodmap3
3 files changed, 2 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 24e58ba8..83d5c0a5 100644
--- a/Makefile
+++ b/Makefile
@@ -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
diff --git a/X/xinitrc b/X/xinitrc
index 010c45ba..23ee2130 100644
--- a/X/xinitrc
+++ b/X/xinitrc
@@ -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