diff --git a/home/wm/addon/hypridle.nix b/home/wm/addon/hypridle.nix index 9b0c30d..401c00d 100644 --- a/home/wm/addon/hypridle.nix +++ b/home/wm/addon/hypridle.nix @@ -17,13 +17,13 @@ in listener = [ { timeout = 10; - on-timeout = "${brightnessctl} -sd dell::kbd_backlight set 0"; - on-resume = "${brightnessctl} -rd dell::kbd_backlight"; + on-timeout = "${brightnessctl} --quiet --device=dell::kbd_backlight --save set 0"; + on-resume = "${brightnessctl} --quiet --device=dell::kbd_backlight --restore"; } { timeout = 150; - on-timeout = "${brightnessctl} -s set 30"; - on-resume = "${brightnessctl} -r"; + on-timeout = "${brightnessctl} --quiet --device=intel_backlight --save set 30"; + on-resume = "${brightnessctl} --quiet --device=intel_backlight --restore"; } { timeout = 300; diff --git a/home/wm/hyprland/default.nix b/home/wm/hyprland/default.nix index 7a40af8..b7a127d 100644 --- a/home/wm/hyprland/default.nix +++ b/home/wm/hyprland/default.nix @@ -216,8 +216,8 @@ in ]; binde = [ - ",XF86MonBrightnessUp, exec, ${brightnessctl} set +5%" - ",XF86MonBrightnessDown, exec, ${brightnessctl} set 5%-" + ",XF86MonBrightnessUp, exec, ${brightnessctl} --quiet --device=intel_backlight set +5%" + ",XF86MonBrightnessDown, exec, ${brightnessctl} --quiet --device=intel_backlight set 5%-" ",XF86AudioRaiseVolume, exec, ${wpctl} set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+" ",XF86AudioLowerVolume, exec, ${wpctl} set-volume @DEFAULT_AUDIO_SINK@ 5%-" ];