parent
b08e6221e0
commit
9a0f388f66
|
@ -302,6 +302,10 @@ in {
|
||||||
ExecStart = "${cfg.package}/bin/compton --config ${configFile}";
|
ExecStart = "${cfg.package}/bin/compton --config ${configFile}";
|
||||||
Restart = "always";
|
Restart = "always";
|
||||||
RestartSec = 3;
|
RestartSec = 3;
|
||||||
|
}
|
||||||
|
// optionalAttrs (cfg.backend == "glx") {
|
||||||
|
# Temporarily fixes corrupt colours with Mesa 18.
|
||||||
|
Environment = [ "allow_rgb10_configs=false" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue