fix(sway): switch to brightnessctl, as light is not working

This commit is contained in:
buffet 2024-01-26 12:58:50 +01:00
parent 593639ba21
commit e3625bf75c

View file

@ -39,10 +39,10 @@ in {
"${mod}+Shift+y" = "exec swaylock";
"${mod}+d" = "exec ${pkgs.wofi}/bin/wofi --show drun"; # TODO: config
"${mod}+z" = "exec ${pkgs.light}/bin/light -U 0.5";
"${mod}+x" = "exec ${pkgs.light}/bin/light -A 0.5";
"${mod}+Shift+z" = "exec ${pkgs.light}/bin/light -U 5";
"${mod}+Shift+x" = "exec ${pkgs.light}/bin/light -A 5";
"${mod}+z" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set 0.5%-";
"${mod}+x" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set +0.5%";
"${mod}+Shift+z" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set 5%-";
"${mod}+Shift+x" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set +5%";
"${mod}+Shift+q" = "kill";
"${mod}+Shift+c" = "reload";