diff options
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | X11/Xmodmap | 1 | ||||
-rw-r--r-- | X11/xinitrc | 2 | ||||
-rw-r--r-- | X11/xorg.conf.d/90-keyboard.conf | 4 |
4 files changed, 6 insertions, 2 deletions
@@ -6,6 +6,7 @@ install: -mkdir -p "$(HOME)/.local/share/nvim/backup" -ln -sf "$(PWD)/mailcap" "$(HOME)/.mailcap" -ln -sf "$(PWD)/msmtprc" "$(HOME)/.msmtprc" + -ln -sf "$(PWD)/X11/Xmodmap" "$(HOME)/.Xmodmap" ~/misc/grawity/: -mkdir -p ~/misc/grawity diff --git a/X11/Xmodmap b/X11/Xmodmap new file mode 100644 index 0000000..9fbfe9f --- /dev/null +++ b/X11/Xmodmap @@ -0,0 +1 @@ +keysym Control_L Control = Escape diff --git a/X11/xinitrc b/X11/xinitrc index a99d2e0..ad9fe2c 100644 --- a/X11/xinitrc +++ b/X11/xinitrc @@ -7,4 +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 + exec i3 -c /home/kyrias/.config/i3/config diff --git a/X11/xorg.conf.d/90-keyboard.conf b/X11/xorg.conf.d/90-keyboard.conf index c7c9b05..7d2aab0 100644 --- a/X11/xorg.conf.d/90-keyboard.conf +++ b/X11/xorg.conf.d/90-keyboard.conf @@ -1,6 +1,6 @@ Section "InputClass" Identifier "Keyboard Defaults" MatchIsKeyboard "on" - Option "XkbLayout" "dvorak,us" - Option "XkbOptions" "caps:escape,compose:ralt,grp_led:caps,grp:menu_toggle" + Option "XkbLayout" "dvorak" + Option "XkbOptions" "caps:ctrl_modifier,compose:ralt" EndSection |