Use gammastep instead of redshift

pull/52/head
Simon Bruder 2021-05-24 22:12:57 +02:00
parent 7450828b63
commit ad0748ba1b
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
1 changed files with 3 additions and 5 deletions

View File

@ -372,10 +372,10 @@ lib.mkIf nixosConfig.sbruder.gui.enable {
}; };
"custom/redshift" = { "custom/redshift" = {
exec = watchUserUnitState exec = watchUserUnitState
"redshift" "gammastep"
{ class = "active"; } { class = "active"; }
{ class = "inactive"; }; { class = "inactive"; };
on-click = toggleUserUnitState "redshift"; on-click = toggleUserUnitState "gammastep";
return-type = "json"; return-type = "json";
format = ""; format = "";
tooltip = false; tooltip = false;
@ -582,10 +582,8 @@ lib.mkIf nixosConfig.sbruder.gui.enable {
}; };
}; };
services.redshift = { services.gammastep = {
enable = true; enable = true;
package = pkgs.redshift-wlr;
extraOptions = [ "-v" "-m" "wayland" ];
latitude = "49.52"; latitude = "49.52";
longitude = "10.17"; longitude = "10.17";
temperature = { temperature = {