mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 05:53:56 -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,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
|
||||
|
||||
|
@ -249,4 +249,4 @@ bind = , xf86launch2, exec, playerctl play-pause
|
|||
bind = , PRINT, exec, hyprshot -m output --clipboard-only
|
||||
|
||||
# Show/hide waybar.
|
||||
bind = $mainMod, F11, exec, pkill -SIGUSR1 waybar
|
||||
bind = $mainMod, F11, exec, pkill -SIGUSR1 waybar
|
Loading…
Reference in a new issue