aboutsummaryrefslogtreecommitdiff
path: root/sxhkd
diff options
context:
space:
mode:
authorKumar Damani <damani.kumar@gmail.com>2019-05-25 18:49:53 +0000
committerKumar Damani <damani.kumar@gmail.com>2019-05-25 18:49:53 +0000
commitefb1e27e7d86b9d544c91eae7ec08bfa77819864 (patch)
tree7a2fffc544a732370a25e19cf3827b13bcb9be07 /sxhkd
parent23c83773c9030ce83000d1f5d995be25d089bad9 (diff)
outsource dwm app cmds to sxhkd
Diffstat (limited to 'sxhkd')
-rw-r--r--sxhkd/.config/sxhkd/sxhkdrc86
1 files changed, 86 insertions, 0 deletions
diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc
new file mode 100644
index 0000000..214946a
--- /dev/null
+++ b/sxhkd/.config/sxhkd/sxhkdrc
@@ -0,0 +1,86 @@
+# Spawn apps
+super + w
+ $BROWSER
+
+super + shift + w
+ $BROWSER -incognito
+
+super + e
+ $TERMINAL -n email -e neomutt
+
+super + r
+ $TERMINAL -e vifm
+
+super + shift + r
+ pcmanfm
+
+super + i
+ $TERMINAL -e htop
+
+super + shift + p
+ keepassxc
+
+super + shift + a
+ $TERMINAL -e alsamixer
+
+super + v
+ $TERMINAL -e ncmpcpp -s visualizer
+
+super + m
+ $TERMINAL -e ncmpcpp
+
+super + d
+ rofi -show run
+
+super + Return
+ $TERMINAL
+
+
+# Music Control
+super + p
+ notify-send "$(mpc toggle | sed 2q)"
+
+super + b
+ mpc prev
+
+super + n
+ mpc next
+
+super + bracket{left,right}
+ mpc seek {-,\+}30
+
+
+# Sound Control
+super + shift + m
+ pamixer --allow-boost -t && notify-send "🎧 $(pamixer --get-volume-human)"
+
+super + {minus,equal}
+ pamixer --allow-boost -{d,i} 10 && notify-send "🎧 $(pamixer --get-volume-human)"
+
+super + F1
+ amixer -c 0 set Headphone 100% unmute && notify-send -t 1000 "🎧 Unmuted!"
+
+# Misc
+super + shift + d
+ mpv /mnt/newvol/p/"$(ls /mnt/newvol/p | rofi -dmenu -lines 10)"
+
+super + shift + f
+ dmenuunicode
+
+super + x
+ lock.sh
+
+super + shift + x
+ systemctl restart
+
+super + shift + BackSpace
+ shutdown now
+
+super + F4
+ lock.sh && systemctl suspend
+
+super + {F7,F8}
+ screen.sh {l,d}
+
+{_,shift} + Print
+ maim -{s,i $(xdotool getactivewindow)} ~/Pictures/$(date +%s).png