aboutsummaryrefslogtreecommitdiffstats
path: root/X11
diff options
context:
space:
mode:
Diffstat (limited to 'X11')
-rw-r--r--X11/Xmodmap1
-rw-r--r--X11/xinitrc2
-rw-r--r--X11/xorg.conf.d/90-keyboard.conf4
3 files changed, 5 insertions, 2 deletions
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