hm(hyprland): add binds for volume up, down and mute

This commit is contained in:
Alexandre Cavalheiro 2024-05-13 12:00:49 -03:00
parent 4eccdb8770
commit d7417c2b11
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF

View file

@ -252,6 +252,11 @@
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow
# Volume changes
binde = , XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%+
binde = , XF86AudioLowerVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%-
bind = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
# Window rules
windowrulev2 = opacity 0.0 override 0.0 override,class:^(xwaylandvideobridge)$
windowrulev2 = noanim,class:^(xwaylandvideobridge)$