mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-08 19:13:52 +00:00
38 lines
614 B
Nix
38 lines
614 B
Nix
{
|
|
x,
|
|
lib,
|
|
config,
|
|
...
|
|
}:
|
|
with lib;
|
|
with x;
|
|
let
|
|
cfg = config.module.wm.misc.nwg;
|
|
in
|
|
{
|
|
options = {
|
|
module.wm.misc.nwg = {
|
|
enable = mkBool;
|
|
};
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
xdg.configFile = with config.lib.stylix.colors; {
|
|
"nwg-drawer/drawer.css".text = ''
|
|
window {
|
|
color = #${base06};
|
|
background-color: #${base00};
|
|
}
|
|
button {
|
|
color: #${base04};
|
|
background-color: #${base00};
|
|
}
|
|
button:hover {
|
|
color: #${base04};
|
|
background-color: #${base01};
|
|
}
|
|
'';
|
|
};
|
|
};
|
|
}
|