home/hyprland: let bolume and brightness keys work on lock screen and when held

This commit is contained in:
Aly Raffauf 2024-03-27 22:13:05 -04:00
parent 0db4e45289
commit f7ed7be958

View file

@ -229,19 +229,19 @@ bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow
# Adjust display brightness.
bind = , xf86monbrightnessup, exec, brightnessctl set 5%+
bind = , xf86monbrightnessdown, exec, brightnessctl set 5%-
bindle = , xf86monbrightnessup, exec, brightnessctl set 5%+
bindle = , xf86monbrightnessdown, exec, brightnessctl set 5%-
# Adjust volume and play/pause.
bind = , xf86audioraisevolume, exec, wpctl set-volume -l 1.0 @DEFAULT_SINK@ 5%+
bind = , xf86audiolowervolume, exec, wpctl set-volume -l 1.0 @DEFAULT_SINK@ 5%-
bind = , xf86audiomute, exec, wpctl set-mute @DEFAULT_SINK@ toggle
bind = , xf86audioplay, exec, playerctl play-pause
bind = , xf86audioprev, exec, playerctl previous
bind = , xf86audionext, exec, playerctl next
bindle = , xf86audioraisevolume, exec, wpctl set-volume -l 1.0 @DEFAULT_SINK@ 5%+
bindle = , xf86audiolowervolume, exec, wpctl set-volume -l 1.0 @DEFAULT_SINK@ 5%-
bindl = , xf86audiomute, exec, wpctl set-mute @DEFAULT_SINK@ toggle
bindl = , xf86audioplay, exec, playerctl play-pause
bindl = , xf86audioprev, exec, playerctl previous
bindl = , xf86audionext, exec, playerctl next
# Extra bindings for petalburg.
bind = ,xf86launch4, exec, pp-adjuster
bind = , xf86launch4, exec, pp-adjuster
# bind = ,xf86launch1, exec, cs-adjuster
bind = , xf86launch2, exec, playerctl play-pause