about summary refs log tree commit diff stats
path: root/config/X11/xprofile
diff options
context:
space:
mode:
authorensa <psii@riseup.net>2020-08-15 23:07:00 -0700
committerensa <psii@riseup.net>2020-08-15 23:07:00 -0700
commit3f4e930385675a4613db5f12b19557b126c29559 (patch)
tree052b8a6d2ce5a41d984b3b46c2a15308137d2251 /config/X11/xprofile
parenteec480ccb22f3166d723befc9522e8a25eabf8c1 (diff)
downloadcfg-3f4e930385675a4613db5f12b19557b126c29559.tar.gz
update, fixes
bin/fl: removed unnecessary newline escapes
config/
	X11/
		xprofile: added dvorak programmer
			replaced unclutter with xbanish
		xresources: switch to hermit for font
	aliasrc: lynx vikeys
	color/colors.sh: fixed & portablized color grabbing
	cwmrc: removed
	dunst/dunstrc: switch to hermit for font
	ksh/
		functions/
			man_complete: now uses ~cache
			mpvpin: args improved
		kshrc: added FCEDIT
			removed uptime from PF_INFO
		prompt.ksh: shored up
	lf/lfrc: prompt made more consistent with ksh's
	ncmpcpp/config: paths updated
	newsboat/config: path updated
	shrc: LAUNCHER added
		LOCK switched to xlockmore
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