refactor(hypr): improve backlight management

This commit is contained in:
Price Hiller 2023-07-23 19:44:15 -05:00
parent aa0ba8ba89
commit ea8dbcd508
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8

View File

@ -75,8 +75,8 @@ bindl = ,XF86AudioPlay,exec,playerctl play-pause
binde = ,XF86AudioRaiseVolume,exec,pw-volume change -- '+5%'; pkill -RTMIN+8 waybar
binde = ,XF86AudioLowerVolume,exec,pw-volume change -- '-5%'; pkill -RTMIN+8 waybar
bindl = ,XF86AudioMute,exec,pw-volume mute toggle; pkill -RTMIN+8 waybar
binde = ,XF86MonBrightnessUp,exec,sudo light -As "sysfs/backlight/amdgpu_bl1" -- 5; sudo light -As "sysfs/backlight/amdgpu_bl0" -- 5
binde = ,XF86MonBrightnessDown,exec,sudo light -Us "sysfs/backlight/amdgpu_bl1" -- 5; sudo light -Us "sysfs/backlight/amdgpu_bl0" -- 5
binde = ,XF86MonBrightnessUp,exec,sudo light -A 10
binde = ,XF86MonBrightnessDown,exec,sudo light -U 10
bind = ,XF86Launch4,exec,asusctl profile -n; notify-send "Asus Control" " $(asusctl profile -p | awk '{print $NF}')"
bind = SUPER,left,movefocus,l