diff options
author | Franck Cuny <franck@fcuny.net> | 2020-10-06 17:37:04 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2020-10-06 17:37:04 -0700 |
commit | b151ffd29fc3bff3d943d3877a668b59e08f8dc9 (patch) | |
tree | 522a0455540da612f50cacb76f2726c2426efb87 | |
parent | Update makefile (diff) | |
download | emacs.d-b151ffd29fc3bff3d943d3877a668b59e08f8dc9.tar.gz |
linux: manage xmodmap
I want to map caps-lock to control.
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | Xmodmap | 4 |
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 |