summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
-rw-r--r--Xmodmap4
2 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f77ae93..caaa032 100644
--- a/Makefile
+++ b/Makefile
@@ -70,6 +70,11 @@ desktop:
 	@ln -sf $(PWD)/config/i3 $(HOME)/.config/i3
 	@ln -sf $(PWD)/config/user-dirs.dirs $(HOME)/.config/user-dirs.dirs
 
+.PHONY: modmap
+modmap:
+	$(PACMAN) xorg-xmodmap
+	@ln -sf $(PWD)/Xmodmap $(HOME)/.Xmodmap
+
 .PHONY: emacs
 emacs:
 ifeq ($(CURRENT_OS),Linux)
diff --git a/Xmodmap b/Xmodmap
new file mode 100644
index 0000000..0553230
--- /dev/null
+++ b/Xmodmap
@@ -0,0 +1,4 @@
+clear lock
+clear control
+keycode 66 = Control_L
+add control = Control_L Control_R