about summary refs log tree commit diff stats
path: root/config/X11/xprofile
diff options
context:
space:
mode:
Diffstat (limited to 'config/X11/xprofile')
-rw-r--r--config/X11/xprofile7
1 files changed, 5 insertions, 2 deletions
diff --git a/config/X11/xprofile b/config/X11/xprofile
index 865968a..eb89ed0 100644
--- a/config/X11/xprofile
+++ b/config/X11/xprofile
@@ -1,7 +1,10 @@
 #!/bin/sh
 . $HOME/etc/shrc
 # set caps to escape when pressed and super when held
-setxkbmap -option caps:super && xcape -e 'Super_L=Escape'
+# also sets dvorak programmer layout
+setxkbmap -option caps:super -layout us -variant dvp && xcape -e 'Super_L=Escape'
+## detect if laptop has other display connected, kills builtin if so
+#[ $(xrandr -q|grep -cE '^(DP|VGA|HDMI)-[[:digit:]] connected') -gt 0 ] && monitor
 # disables the beeper
 xset b off
 # increases kbd repeat on hold
@@ -14,7 +17,7 @@ xbg &
 # notification daemon
 dunst &
 # mouse vanishes when typing
-unclutter -noevents &
+xbanish &
 # activate mpd scrobbler
 mpdas -c $HOME_ETC/mpdasrc &
 # status bar