From f620b2a2f71cc3df7a714c0a829615df82b1a1cd Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Tue, 19 Dec 2017 12:43:59 +0100 Subject: Unbreak shift+space on lithium MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For some reason the default space keycode on the x270 with a Swedish keyboard at least, includes a bunch of more crap, but doesn't support shift+space. Signed-off-by: Johannes Löthberg --- X11/xinitrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'X11/xinitrc') diff --git a/X11/xinitrc b/X11/xinitrc index e184715..3c2c54d 100755 --- a/X11/xinitrc +++ b/X11/xinitrc @@ -7,6 +7,10 @@ systemctl --user import-environment DISPLAY XAUTHORITY SSH_AGENT_PID SSH_AUTH_SOCK systemctl --user restart dumpwatch -xmodmap "$XDG_CONFIG_HOME"/X11/Xmodmap +XMODMAP="$XDG_CONFIG_HOME"/X11/Xmodmap +xmodmap "$XMODMAP" +if [[ -f "$XMODMAP"-"$(hostname -s)" ]]; then + xmodmap "$XMODMAP"-"$(hostname -s)" +fi exec i3 -c "$XDG_CONFIG_HOME"/i3/config -- cgit v1.2.3-70-g09d2