From c3b5bbfb9dcfed2dfe708b8aad85b00c13e2a100 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Tue, 12 Dec 2017 09:02:57 -0500 Subject: refactor keyboard layout switching a bit --- xinitrc | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'xinitrc') diff --git a/xinitrc b/xinitrc index f43df3a..f558956 100644 --- a/xinitrc +++ b/xinitrc @@ -6,16 +6,13 @@ start-pulseaudio-x11 setxkbmap -option ctrl:nocaps setxkbmap -option compose:caps xmodmap $HOME/.Xmodmap +$HOME/.bin/numkeys on -pidof svscan || (svscan $HOME/.services 2>&1 | readproctitle $USER ........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................) & - -upower -e - -$HOME/.bin/toggle_numkeys xinput set-prop "TPPS/2 IBM TrackPoint" "Device Enabled" 0 - synclient TapButton1=1 synclient TapButton2=2 synclient TapButton3=3 +pidof svscan || (svscan $HOME/.services 2>&1 | readproctitle $USER ........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................) & + exec i3 -- cgit v1.2.3-54-g00ecf