1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-09-29 17:57:28 +02:00

compton: fix corrupt colors under Mesa 18

Fixes #441
This commit is contained in:
Robert Helgesson 2018-11-15 00:16:02 +01:00
parent b08e6221e0
commit 9a0f388f66
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -302,6 +302,10 @@ in {
ExecStart = "${cfg.package}/bin/compton --config ${configFile}";
Restart = "always";
RestartSec = 3;
}
// optionalAttrs (cfg.backend == "glx") {
# Temporarily fixes corrupt colours with Mesa 18.
Environment = [ "allow_rgb10_configs=false" ];
};
};
};