Evie Litherland-Smith
05d19c1813
Split system-level sway and plasma config into separate files, move sway-specific home-level config to sway file. Only truly common desktop components are kept in common spaces. This allows much easier switching between using KDE Plasma and Sway.
20 lines
516 B
Nix
20 lines
516 B
Nix
{
|
|
config,
|
|
accentColourName,
|
|
...
|
|
}: {
|
|
services.avizo = {
|
|
enable = true;
|
|
settings.default = let
|
|
sc = config.scheme;
|
|
rgba = colourName: "${sc."${colourName}-rgb-r"}, ${sc."${colourName}-rgb-g"}, ${sc."${colourName}-rgb-b"}";
|
|
in {
|
|
background = "rgba(${rgba "base00"}, 0.9)";
|
|
bar-bg-color = "rgba(${rgba "base00"}, 0.9)";
|
|
bar-fg-color = "rgba(${rgba "base05"}, 1.0)";
|
|
border-color = "rgba(${rgba accentColourName}, 1.0)";
|
|
image-opacity = "1.0";
|
|
};
|
|
};
|
|
}
|