commit 26cb31309dc6cca003e048aeb6c27b128a088d6e
parent 3f6f50ca490825f8fbd30262d20c2fc2c7ce0cdc
Author: jacob@thinkpad <jacobouno@protonmail.com>
Date: Fri, 3 Jul 2020 17:11:04 -0700
Change volume prefix alt and refine the rest
screenshots removed
dpms suspend removed
locker paired with suspend
Diffstat:
1 file changed, 12 insertions(+), 28 deletions(-)
diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc
@@ -1,4 +1,3 @@
-### spawns
# terminal
super + t
"$TERMINAL"
@@ -23,53 +22,38 @@ super + n
shift + super + {m,alt + m, n}
dmarks -n {-o,-oc,-e}
-# start locker
-super + F4
- $LOCKER
-
# switch tty
alt + F{1,2,3,4,5,6}
sudo chvt {1,2,3,4,5,6}
# launch sxiv on WALLPAPERS
-super + shift + p
- sxiv -rtb $(dmenu-fs -a sxiv -d $WALLPAPERS)
-
-# launch sxiv on SCREENSHOTS
-super + alt + Print
- sxiv -t "$SCREENSHOTS"
-
-# take a screenshot (full, region, window)
-{_,shift,alt} Print
- screenshot {-f,-s,-w} && flash
+super + {_,shift} + p
+ sxiv -rtb {$WALLPAPERS, $(dmenu-fs -a sxiv -d $WALLPAPERS)}
-
-### audio
-super + {bracketright,bracketleft}
+# next/prev song
+alt + {bracketright,bracketleft}
mpc {next,prev} && notify-send "$(mpc current)"
# seeking
-super + shift {bracketright,bracketleft}
+alt + shift {bracketright,bracketleft}
mpc seek {+,-}15
# pause-play/stop
-super + backslash
+alt + backslash
notify-send $(mpc toggle | grep -o "\[.*\]")
# volume controls (pulseaudio/ponymix)
-super + {apostrophe,semicolon}
+alt + {apostrophe,semicolon}
volume {--inc,--dec} 5
# mute mic and speakers
-super + shift + {_,alt} + backslash
+alt + shift + {_,alt} + backslash
volume {--mute,--mute-mic}
-
-### display
# brightness controls
-super + {equal,minus}
+shift + alt + {apostrophe,semicolon}
xbl {--up,--down}
-# blank screen
-F4
- xset dpms force suspend
+# locker+suspend, suspend
+super + {shift,_} + s
+ {$LOCKER & $SUSPEND, $SUSPEND}