aboutsummaryrefslogtreecommitdiff
path: root/.config/sxhkd
diff options
context:
space:
mode:
Diffstat (limited to '.config/sxhkd')
-rw-r--r--.config/sxhkd/sxhkdrc30
1 files changed, 30 insertions, 0 deletions
diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc
new file mode 100644
index 0000000..fcc2158
--- /dev/null
+++ b/.config/sxhkd/sxhkdrc
@@ -0,0 +1,30 @@
+XF86AudioMute
+ pactl set-sink-mute @DEFAULT_SINK@ toggle && pkill -RTMIN+2 dwmblocks
+
+XF86AudioRaiseVolume
+ pactl set-sink-volume @DEFAULT_SINK@ +5% && pkill -RTMIN+2 dwmblocks
+
+XF86AudioLowerVolume
+ pactl set-sink-volume @DEFAULT_SINK@ -5% && pkill -RTMIN+2 dwmblocks
+
+XF86AudioPlay
+ playerctl --player=spotify play-pause
+
+XF86AudioPrev
+ playerctl --player=spotify previous && sleep 0.1 && pkill -RTMIN+1 dwmblocks
+
+XF86AudioNext
+ playerctl --player=spotify next && sleep 0.1 && pkill -RTMIN+1 dwmblocks
+
+XF86MonBrightnessUp
+ xbacklight -inc 10 && pkill -RTMIN+3 dwmblocks
+
+XF86MonBrightnessDown
+ xbacklight -dec 10 && pkill -RTMIN+3 dwmblocks
+
+shift + Print
+ screenshot.sh
+
+Print
+ screenshot.sh -window root
+