refactor(hypr): use wpctl for volume controls

This commit is contained in:
Price Hiller 2024-02-29 08:15:47 -06:00
parent 94e6041783
commit 47772f0fbf
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB

View File

@ -77,9 +77,9 @@ bind = SUPERSHIFT,M,exit
bindl = ,XF86AudioPrev,exec,playerctl previous
bindl = ,XF86AudioNext,exec,playerctl next
bindl = ,XF86AudioPlay,exec,playerctl play-pause
binde = ,XF86AudioRaiseVolume,exec,pw-volume change -- '+5%'; pkill -RTMIN+8 waybar
binde = ,XF86AudioLowerVolume,exec,pw-volume change -- '-5%'; pkill -RTMIN+8 waybar
bindl = ,XF86AudioMute,exec,pw-volume mute toggle; pkill -RTMIN+8 waybar
bindel= ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
bindel= ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
bindl= ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
binde = ,XF86MonBrightnessUp,exec,brightnessctl s 5%+
binde = ,XF86MonBrightnessDown,exec,brightnessctl s 5%-