From a97baf175cd349cf5f339c5354ff47afe5d48bb8 Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Sun, 1 Jun 2025 19:19:58 +0800 Subject: [PATCH] feat: gammastep - do not adjust brightness via gamma --- home/linux/gui/base/eye-protection.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/home/linux/gui/base/eye-protection.nix b/home/linux/gui/base/eye-protection.nix index 84142595..04a2637b 100644 --- a/home/linux/gui/base/eye-protection.nix +++ b/home/linux/gui/base/eye-protection.nix @@ -23,11 +23,14 @@ settings = { general = { fade = "1"; # gradually apply the new screen temperature/brightness over a couple of seconds. + # it is a fake brightness adjustment obtained by manipulating the gamma ramps, # which means that it does not reduce the backlight of the screen. # Preferably only use it if your normal backlight adjustment is too coarse-grained. - brightness-day = "1.0"; - brightness-night = "0.8"; + # + # brightness-day = "1.3"; + # brightness-night = "1"; + location-provider = "manual"; # by default, Redshift will use the current elevation of the sun