diff options
author | Jesse Luehrs <doy@tozt.net> | 2013-10-14 00:44:57 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2013-10-14 00:45:37 -0400 |
commit | ccc8a16c127fef39fe2e3db86cf1b971d0180518 (patch) | |
tree | c746de8e8a283869c42a2cb8dc802213ed132265 /xinitrc | |
parent | 3c8760ef3e59d0452646e6fb8b3551fe53f336e4 (diff) | |
download | conf-ccc8a16c127fef39fe2e3db86cf1b971d0180518.tar.gz conf-ccc8a16c127fef39fe2e3db86cf1b971d0180518.zip |
move key rebindings to before services are started
in particular, xcape breaks if you rebind keys after it has already been
started
Diffstat (limited to 'xinitrc')
-rw-r--r-- | xinitrc | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1,10 +1,12 @@ #!/bin/sh +# these have to all happen before xcape is started +setxkbmap -option ctrl:nocaps +setxkbmap -option compose:caps +xmodmap $HOME/.Xmodmap + pidof svscan || (svscan $HOME/.services 2>&1 | readproctitle $USER ........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................) & -setxkbmap -option ctrl:nocaps # disables caps lock -setxkbmap -option compose:caps # sets caps key to compose -xmodmap $HOME/.Xmodmap synclient HorizEdgeScroll=1 upower -e |