aboutsummaryrefslogtreecommitdiffstats
path: root/X11
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2017-08-17 10:26:53 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2017-08-17 10:26:53 +0200
commit0db1ed62f94f89bde36767417140bce801e6881f (patch)
tree88d4c0174b5718e72022ab16324a10f4f225792c /X11
parentc9bad73634d33d1356c62c65cebea34af19b77f9 (diff)
downloaddotfiles-0db1ed62f94f89bde36767417140bce801e6881f.tar.xz
Add Xmodmap
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
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