about summary refs log tree commit diff stats
path: root/config/X11
diff options
context:
space:
mode:
Diffstat (limited to 'config/X11')
-rw-r--r--config/X11/xprofile7
-rw-r--r--config/X11/xresources10
2 files changed, 10 insertions, 7 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
diff --git a/config/X11/xresources b/config/X11/xresources
index 7c019f7..a56f91c 100644
--- a/config/X11/xresources
+++ b/config/X11/xresources
@@ -50,11 +50,7 @@
 ! XTerm config.
 xterm*termName: xterm-16color
 xterm*metaSendsEscape: true
-xterm*font: -xos4-terminus-medium-r-normal--12-120-72-72-c-60-iso10646-1
-xterm*faceName: monospace:style=regular:charwidth=6
-xterm*renderFont: false
-xterm*useClipping: false
-xterm*useBorderClipping: true
+xterm*faceName: Hermit:style=regular:size=10
 xterm*cursorColor: curs
 xterm*boldMode: false
 xterm*colorBD: bold
@@ -86,3 +82,7 @@ XClock*secondColor: rgba:cc/bc/8e/ff
 Sxiv*font: Cozette:style=Medium:pixelsize=11
 Sxiv*background: bg
 Sxiv*foreground: fg
+
+! xlock settings
+XLock.mode: random
+XLock.font: -*-terminus-medium-r-*--12-*-*-*-*-*-iso10646-1