add sxhkd Audio Play/Prev/Next shortcuts
[~bandali/configs] / sxhkd / .config / sxhkd / sxhkdrc
index 12303f5..42606ef 100644 (file)
@@ -84,7 +84,10 @@ super + Return
        urxvt
 
 super + space
-       dmenu_run -fn "-*-termsyn-medium-r-normal-*-13-*-*-*-c-*-*-1" -h 20 -nb \#2f2b30 -nf \#fefdfb -sb \#cf0f38 -sf \#fefdfb
+       dmenu_run -fn "Source Code Pro for Powerline:bold:pixelsize=10" -h 28 -nb \#2f2b30 -nf \#fefdfb -sb \#cf0f38 -sf \#fefdfb
+
+super + x
+    slimlock
 
 # make sxhkd reload its configuration files:
 super + Escape
@@ -103,17 +106,35 @@ XF86KbdBrightnessUp
        kbdlight up
 
 XF86AudioRaiseVolume
-       pamixer --increase 5;\
-       pamixer --get-volume > /tmp/volinfo
+    pulseaudio-ctl up
 
 XF86AudioLowerVolume
-       pamixer --decrease 5;\
-        pamixer --get-volume > /tmp/volinfo
+    pulseaudio-ctl down
 
 XF86AudioMute
-       pamixer --toggle-mute;\
-        if $(pamixer --get-mute) ; then;\
-        echo ⮝ > /tmp/spkicon;\
-        else;\
-        echo ⮟ > /tmp/spkicon;\
-        fi
+    pulseaudio-ctl mute
+
+XF86AudioPlay
+    mpc toggle
+
+XF86AudioPrev
+    mpc prev
+
+XF86AudioNext
+    mpc next
+
+#XF86AudioRaiseVolume
+#      pamixer --increase 5;\
+#      pamixer --get-volume > /tmp/volinfo
+
+#XF86AudioLowerVolume
+#      pamixer --decrease 5;\
+#        pamixer --get-volume > /tmp/volinfo
+
+#XF86AudioMute
+#      pamixer --toggle-mute;\
+#        if $(pamixer --get-mute) ; then;\
+#        echo ⮝ > /tmp/spkicon;\
+#        else;\
+#        echo ⮟ > /tmp/spkicon;\
+#        fi