diff options
Diffstat (limited to 'config/cwmrc')
-rw-r--r-- | config/cwmrc | 29 |
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 |