mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-09 19:43:52 +00:00
29 lines
591 B
Nix
29 lines
591 B
Nix
{ lib, config, ... }:
|
|
|
|
with lib;
|
|
|
|
let cfg = config.module.wm.misc.nwg;
|
|
in {
|
|
options = { module.wm.misc.nwg = { enable = mkEnableOption ""; }; };
|
|
|
|
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};
|
|
}
|
|
'';
|
|
};
|
|
};
|
|
}
|
|
|