11.stylix/modules/gdu/hm.nix
chillcicada c9760a6a2b gdu: properly rename module and option names (#2044)
Fixes: b9b0501839 ("gdu: init (#1995)")
Link: https://github.com/nix-community/stylix/pull/2044

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
(cherry picked from commit 961e2f02af)
2025-12-01 15:45:18 +01:00

32 lines
736 B
Nix

{
mkTarget,
...
}:
mkTarget {
name = "gdu";
humanName = "go DiskUsage()";
configElements =
{ colors }:
{
xdg.configFile."gdu/gdu.yaml" = {
enable = true;
text = with colors.withHashtag; ''
style:
selected-row:
text-color: "${base05}"
background-color: "${base00}"
result-row:
number-color: "${base06}"
directory-color: "${base02}"
footer:
text-color: "${base05}"
background-color: "${base00}"
number-color: "${base06}"
header:
text-color: "${base05}"
background-color: "${base00}"
'';
};
};
}