summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xinitrc8
1 files changed, 5 insertions, 3 deletions
diff --git a/xinitrc b/xinitrc
index f00f528..79993e1 100644
--- a/xinitrc
+++ b/xinitrc
@@ -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