commit 8cd05a66efcba3cc8a57db9ef54baf7bd3fbb2c7
parent 32f67cf85df5723bd08afe33f32638250030d1ca
Author: jacob@thinkpad <jacobouno@protonmail.com>
Date: Sat, 23 May 2020 15:17:56 -0700
Remove many browser launching keybinds, other minor changes
Diffstat:
1 file changed, 22 insertions(+), 44 deletions(-)
diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc
@@ -1,24 +1,12 @@
-### launch software
+#! launch software
# terminal
super + t
"$TERMINAL"
-# BROWSER
+# browser
super + f
"$BROWSER"
-# qutebrowser
-super + f
- qutebrowser
-
-# surf browser
-super + c
- tabbed surf -e
-
-# vimb browser
-super + v
- tabbed -c vimb -e
-
# htop
super + e
"$TERMINAL" -e htop
@@ -39,18 +27,7 @@ super + n
shift + super + {m,alt + m, n}
dmenu-bookmarks -n {-o,-oc,-e}
-# webcam
-super + alt + w
- mpv av://v4l2:/dev/video0 '--geometry=+100%+100%'
-
-
-### toggle programs
-# picom
-alt + p
- toggle "$COMPOSITOR"
-
-
-### basic utilities
+#! display and sound
# hardware brightness controls
XF86MonBrightness{Up,Down}
xbl {--up,--down}
@@ -59,23 +36,36 @@ XF86MonBrightness{Up,Down}
super + alt + {e,r}
xbl {--up,--down}
-# suspend screen
+# hardware volume controls
+XF86Audio{Raise,Lower}Volume
+ notify-send $(sndioctl output.level={+,-}0.05 | cut -d"=" -f2) || volume {--inc,--dec} 5
+
+# volume controls
+super + alt + {i,o}
+ notify-send $(sndioctl output.level={+,-}0.05 | cut -d"=" -f2) || volume {--inc,--dec} 5
+
+# mute mic and speakers
+XF86Audio{_,Mic}Mute
+ volume {--mute,--mute-mic}
+
+#! basics
+# blank screen
F4
xset dpms force suspend
-# lock & then suspend
+# start locker
super + F4
- slock & sleep 1.2; systemctl suspend
+ $LOCKER
# switch tty
alt + F{1,2,3,4,5,6}
sudo chvt {1,2,3,4,5,6}
-# launch wallpaper selector
-Menu
+# launch sxiv on WALLPAPERS
+super + shift + p
dmenu-do-dir "$WALLPAPERS" "sxiv -rtb ./"
-# look at screenshots
+# launch sxiv on SCREENSHOTS
super + alt + Print
sxiv -t "$SCREENSHOTS"
@@ -94,15 +84,3 @@ XF86Audio{Play,Stop}
# seek (mpd)
shift + XF86Audio{Next,Prev}
mpc seek {+,-}10
-
-# hardware volume controls
-XF86Audio{Raise,Lower}Volume
- notify-send $(sndioctl output.level={+,-}0.05 | cut -d"=" -f2) || volume {--inc,--dec} 5
-
-# volume controls
-super + alt + {i,o}
- notify-send $(sndioctl output.level={+,-}0.05 | cut -d"=" -f2) || volume {--inc,--dec} 5
-
-# mute mic and speakers
-XF86Audio{_,Mic}Mute
- volume {--mute,--mute-mic}