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