From b848b971fb7fe1e9426abbbfa62defcd68abe0f0 Mon Sep 17 00:00:00 2001 From: Justine Smithies Date: Mon, 11 May 2026 18:32:07 +0100 Subject: Installed gammastep and setup for wayland --- .config/gammastep/config.ini | 45 ++++++++++++++++++++++++++++++++++++++++++++ .config/mango/autostart.sh | 4 ++-- 2 files changed, 47 insertions(+), 2 deletions(-) create mode 100644 .config/gammastep/config.ini diff --git a/.config/gammastep/config.ini b/.config/gammastep/config.ini new file mode 100644 index 0000000..2715b9e --- /dev/null +++ b/.config/gammastep/config.ini @@ -0,0 +1,45 @@ +; global settings +[general] +; Set the day and night screen temperatures +temp-day=6500 +temp-night=4000 + +; Disable the smooth fade between temperatures when Redshift starts and stops. +; 0 will cause an immediate change between screen temperatures. +; 1 will gradually apply the new screen temperature over a couple of seconds. +fade=1 + +; Set the screen brightness. Default is 1.0. +;brightness=0.9 +; It is also possible to use different settings for day and night +; since version 1.8. +;brightness-day=0.7 +;brightness-night=0.4 +; Set the screen gamma (for all colors, or each color channel +; individually) +gamma=1.0 +;gamma=0.8:0.7:0.8 +; This can also be set individually for day and night since +; version 1.10. +;gamma-day=0.8:0.7:0.8 +;gamma-night=0.6 + +; Set the location-provider: 'geoclue2', 'manual'. +; The location provider settings are in a different section. +location-provider=manual + +; Set the adjustment-method: 'randr', 'vidmode', 'drm', 'wayland'. +; 'randr' is the preferred X11 method, 'vidmode' is an older API +; that works in some cases when 'randr' does not. +; The adjustment method settings are in a different section. +adjustment-method=wayland + +; Configuration of the location-provider: +; type 'gammastep -l PROVIDER:help' to see the settings. +; ex: 'gammastep -l manual:help' +; Keep in mind that longitudes west of Greenwich (e.g. the Americas) +; are negative numbers. +[manual] +lat=57.4 +lon=-1.9 + diff --git a/.config/mango/autostart.sh b/.config/mango/autostart.sh index 9542afb..ceb7b2a 100755 --- a/.config/mango/autostart.sh +++ b/.config/mango/autostart.sh @@ -26,8 +26,8 @@ swaybg -m fill -i "$wallpaper" & pkill -f dunst dunst & -#pkill -f wlsunset -#wlsunset -l 57.4 -L -1.9 & +pkill -f gammastep +gammastep & # Restore previous brightness #backlight "$(grep 'brightness:' ~/.cache/brightness | awk '{print $2}')" -- cgit v1.3