about summary refs log tree commit diff stats
path: root/config/X11
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
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')
-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