allow volume to go above 100%
[~bandali/configs] / sxhkd / .config / sxhkd / sxhkdrc
index 584c2a4..9a5a1fb 100644 (file)
@@ -84,7 +84,10 @@ super + Return
        urxvt
 
 super + space
-       dmenu_run -fn "-*-termsyn-medium-r-normal-*-13-*-*-*-c-*-*-1" -h 31 -nb \#2f2b30 -nf \#fefdfb -sb \#cf0f38 -sf \#fefdfb
+       dmenu_run -fn "-*-termsyn-medium-r-normal-*-13-*-*-*-c-*-*-1" -h 20 -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 --allow-boost --increase 5;\
+       pamixer --get-volume > /tmp/volinfo
+
+XF86AudioLowerVolume
+       pamixer  --allow-boost --decrease 5;\
+        pamixer --get-volume > /tmp/volinfo
+
+XF86AudioMute
+       pamixer --toggle-mute;\
+        if $(pamixer --get-mute) ; then;\
+        echo ⮝ > /tmp/spkicon;\
+        else;\
+        echo ⮟ > /tmp/spkicon;\
+        fi