From f7ed7be95854180d99022ab96882a16c6332d13c Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Wed, 27 Mar 2024 22:13:05 -0400 Subject: [PATCH] home/hyprland: let bolume and brightness keys work on lock screen and when held --- home/hypr/hyprland.conf | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/home/hypr/hyprland.conf b/home/hypr/hyprland.conf index fe09a628..503337be 100644 --- a/home/hypr/hyprland.conf +++ b/home/hypr/hyprland.conf @@ -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 \ No newline at end of file