about summary refs log tree commit diff stats
path: root/config/cwmrc
diff options
context:
space:
mode:
authorensa <psii@riseup.net>2020-06-26 17:04:50 -0700
committerensa <psii@riseup.net>2020-06-26 17:04:50 -0700
commita11f7c357236afea1b00df5f85dc8674f5f1d661 (patch)
treedfc5c2c7617709ee29803897ce24acd06c71b2e4 /config/cwmrc
parent310c76b161e680a698995d61b2a741a05b384fbe (diff)
downloadcfg-a11f7c357236afea1b00df5f85dc8674f5f1d661.tar.gz
improved lh, switched to catgirl
bin/
	lh: now resolves link shorteners first, so web browser is used
	less
	catgirl-open.sh: uses tabbed with xterm to put multiple catgirl
	clients on one "window"
	comm-sel: now uses catgirl-open.sh instead of epic5 in xterm
		cordless specifies config dir so non-standard config
		locations will work
		added different x class flags for different TERMINAL
		values
config/
	cwmrc: removed St and tabbed from autogroups, added tabbed-surf
		things generally fixed to accommodate for xterm
		ALTSCR removed
		$SCR invocations now include -u to hide the cursor
		window force-killing uses non-old $() syntax
	ksh/prompt.ksh: uses unicode halfbar instead of
	powerline triangles
		clears formatting at start of PS1 before coloring things
Diffstat (limited to 'config/cwmrc')
-rw-r--r--config/cwmrc29
1 files changed, 14 insertions, 15 deletions
diff --git a/config/cwmrc b/config/cwmrc
index 8539b13..0a34d84 100644
--- a/config/cwmrc
+++ b/config/cwmrc
@@ -4,12 +4,11 @@ gap 13 0 0 0
 sticky yes
 #autogroup rules
 autogroup 1 XTerm
-autogroup 1 St
 autogroup 3 mail
 autogroup 4 comm
 autogroup 5 music
 autogroup 5 mpv
-autogroup 8 tabbed
+autogroup 8 tabbed-surf
 autogroup 9 pass
 #aesthetics
 fontname "Cozette:style=Medium:pixelsize=11"
@@ -35,21 +34,21 @@ bind-key 4-d menu-exec
 bind-key 4S-d menu-cmd
 bind-key 4C-d menu-window-hidden
 bind-key 4-Return terminal
-#bind-key 4S-Return "sh -c \"$TERMINAL -c popup"
-bind-key 4-e "sh -c \"$TERMINAL -e $EDITOR\""
-#bind-key 4S-e "sh -c \"$TERMINAL -c popup -e $EDITOR\""
+#bind-key 4S-Return "sh -c \"$TERMINAL -class popup"
+bind-key 4-e "sh -c \"$TERMINAL -e env TERM=xterm-256color $EDITOR\""
+#bind-key 4S-e "sh -c \"$TERMINAL -class popup -e env TERM=xterm-256color $EDITOR\""
 bind-key 4-w "sh -c \"$BROWSER $HOMEPAGE\""
 bind-key 4S-c "sh -c \"$COMM\""
-bind-key 4-a "sh -c \"$TERMINAL -c pass -e kpcli --kdb=$XDG_DATA_HOME/KeePass/database.kdbx\""
-bind-key 4-s "sh -c \"lh `xclip -o`\""
-bind-key 4S-s "sh -c \"lh `xclip -sel clip -o`\""
-bind-key 4-m "sh -c \"$ALTSCR -c musictui -e $MUSIC\""
-bind-key 4-c "sh -c \"$ALTSCR -c mail -e $MAILER\""
-bind-key 4-n "sh -c \"$ALTSCR -e $RSS\""
-bind-key 4-r "sh -c \"$ALTSCR -e $FILE\""
+bind-key 4-a "sh -c \"$TERMINAL -class pass -e kpcli --kdb=$HOME_DATA/KeePass/database.kdbx\""
+bind-key 4-s "sh -c \"lh $(xclip -o)\""
+bind-key 4S-s "sh -c \"lh $(xclip -sel clip -o)\""
+bind-key 4-m "sh -c \"$TERMINAL -class musictui -e $MUSIC\""
+bind-key 4-c "sh -c \"$TERMINAL -class mail -e $MAILER\""
+bind-key 4-n "sh -c \"$TERMINAL -e $RSS\""
+bind-key 4-r "sh -c \"$TERMINAL -e $FILE\""
 bind-key 4S-r "sh -c \"$READER\""
-bind-key 4-p "sh -c \"$SCR $(xdg-user-dir PICTURES)/screenshot-$(date +%Y-%m-%d_%T).png\""
-bind-key 4S-p "sh -c \"$SCR -s $(xdg-user-dir PICTURES)/screenshot-$(date +%Y-%m-%d_%T).png\""
+bind-key 4-p "sh -c \"$SCR -u $(xdg-user-dir PICTURES)/screenshot-$(date +%Y-%m-%d_%T).png\""
+bind-key 4S-p "sh -c \"$SCR -us $(xdg-user-dir PICTURES)/screenshot-$(date +%Y-%m-%d_%T).png\""
 bind-key 4S-comma "mpc -q prev"
 bind-key 4S-period "mpc -q next"
 bind-key 4-apostrophe "mpc -q single"
@@ -102,7 +101,7 @@ bind-key 4-Tab group-cycle
 bind-key 4S-Tab group-rcycle
 #window killing
 bind-key 4-q window-close
-bind-key 4S-q "sh -c \"kill -9 `xdotool getwindowfocus getwindowpid`\""
+bind-key 4S-q "sh -c \"kill -9 $(xdotool getwindowfocus getwindowpid)\""
 #layouts
 bind-key 4-f window-maximize
 bind-key 4S-f window-fullscreen