refactor(hypr): use brightnessctl to control backlight

This commit is contained in:
Price Hiller 2024-02-21 01:05:54 -06:00
parent 3be7dc3a76
commit cbc78c168c
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB
2 changed files with 3 additions and 3 deletions

View File

@ -53,7 +53,6 @@ in {
gtk2
lxappearance
webcord
gtk-engine-murrine
opensnitch-ui
twitter-color-emoji
open-sans
@ -69,6 +68,7 @@ in {
easyeffects
egl-wayland
helvum
brightnessctl
] ++ [ go (lib.hiPrio gotools) ] ++ [ age age-plugin-yubikey passage ]
++ [
libsForQt5.qtstyleplugins

View File

@ -79,8 +79,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,busctl --user call org.clight.clight /org/clight/clight org.clight.clight IncBl d 0.05
binde = ,XF86MonBrightnessDown,exec,busctl --user call org.clight.clight /org/clight/clight org.clight.clight DecBl d 0.05
binde = ,XF86MonBrightnessUp,exec,brightnessctl s 5%+
binde = ,XF86MonBrightnessDown,exec,brightnessctl s 5%-
bind = SUPER,left,movefocus,l
bind = SUPER,right,movefocus,r