2024-11-23 07:09:45 +03:00
|
|
|
{
|
2024-12-18 09:40:11 +03:00
|
|
|
__findFile,
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
...
|
2024-12-18 10:58:37 +03:00
|
|
|
}:
|
|
|
|
let
|
|
|
|
color = config.module.style.color;
|
|
|
|
accentR = color.accentDecR;
|
|
|
|
accentG = color.accentDecG;
|
|
|
|
accentB = color.accentDecB;
|
|
|
|
in
|
2024-12-18 09:40:11 +03:00
|
|
|
{
|
|
|
|
# SEE: https://github.com/jtheoof/swappy/issues/131
|
|
|
|
nixpkgs.overlays = [
|
|
|
|
(final: prev: {
|
|
|
|
swappy = prev.swappy.overrideAttrs (old: {
|
2024-12-18 10:58:37 +03:00
|
|
|
patches = (old.patches or [ ]) ++ [
|
|
|
|
(pkgs.replaceVars <patch/swappy/DefaultColor.patch> { inherit accentR accentG accentB; })
|
|
|
|
];
|
2024-12-18 09:40:11 +03:00
|
|
|
});
|
|
|
|
})
|
|
|
|
];
|
2024-11-23 07:09:45 +03:00
|
|
|
}
|