aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--X11/Xmodmap10
-rwxr-xr-xX11/xinitrc2
-rw-r--r--X11/xorg.conf.d/90-keyboard.conf2
3 files changed, 11 insertions, 3 deletions
diff --git a/X11/Xmodmap b/X11/Xmodmap
index 9fbfe9f..a6d6ee8 100644
--- a/X11/Xmodmap
+++ b/X11/Xmodmap
@@ -1 +1,9 @@
-keysym Control_L Control = Escape
+clear Lock
+clear Control
+
+keycode 9 = Caps_Lock NoSymbol Caps_Lock NoSymbol Caps_Lock
+keycode 66 = Control_L NoSymbol Control_L NoSymbol Control_L
+keycode 37 = Escape NoSymbol Escape NoSymbol Escape
+
+add Lock = Caps_Lock
+add Control = Control_L
diff --git a/X11/xinitrc b/X11/xinitrc
index bd8b4d3..e184715 100755
--- a/X11/xinitrc
+++ b/X11/xinitrc
@@ -7,6 +7,6 @@
systemctl --user import-environment DISPLAY XAUTHORITY SSH_AGENT_PID SSH_AUTH_SOCK
systemctl --user restart dumpwatch
-[[ -f "$XDG_CONFIG_HOME"/X11/Xmodmap ]] && xmodmap "$XDG_CONFIG_HOME"/X11/Xmodmap -v
+xmodmap "$XDG_CONFIG_HOME"/X11/Xmodmap
exec i3 -c "$XDG_CONFIG_HOME"/i3/config
diff --git a/X11/xorg.conf.d/90-keyboard.conf b/X11/xorg.conf.d/90-keyboard.conf
index 7adfad8..41fe37d 100644
--- a/X11/xorg.conf.d/90-keyboard.conf
+++ b/X11/xorg.conf.d/90-keyboard.conf
@@ -2,5 +2,5 @@ Section "InputClass"
Identifier "Keyboard Defaults"
MatchIsKeyboard "on"
Option "XkbLayout" "dvorak,us,il"
- Option "XkbOptions" "caps:ctrl_modifier,compose:ralt,grp:rctrl_toggle"
+ Option "XkbOptions" "compose:prsc,grp:rctrl_toggle"
EndSection