mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 10:51:53 -05:00
home/hyprland: let bolume and brightness keys work on lock screen and when held
This commit is contained in:
parent
0db4e45289
commit
f7ed7be958
|
@ -229,16 +229,16 @@ 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
|
||||
|
|
Loading…
Reference in a new issue