added audio buttons

This commit is contained in:
Djeeberjr 2023-05-11 18:48:36 +02:00
parent fd3c7ac30c
commit f0e6726728

View File

@ -137,6 +137,13 @@ bind = $mainMod, M, exec, $XDG_CONFIG_HOME/waybar/mute-toggle.sh
bind = $mainMod, J, togglesplit, # dwindle
bind = $mainMod, F, fullscreen
# Audio buttons
binde =, XF86AudioRaiseVolume, exec, playerctl --player=spotify,%any volume 0.05+
binde =, XF86AudioLowerVolume, exec, playerctl --player=spotify,%any volume 0.05-
bind =, XF86AudioNext, exec, playerctl --player=spotify,%any next
bind =, XF86AudioPrev, exec, playerctl --player=spotify,%any previous
bind =, XF86AudioPlay, exec, playerctl --player=spotify,%any play-pause
# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r