Use gammastep instead of redshift
This commit is contained in:
parent
7450828b63
commit
ad0748ba1b
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue