Link: https://github.com/nix-community/stylix/pull/2041
Link: https://github.com/nix-community/stylix/pull/1976#discussion_r2539186937
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
(cherry picked from commit 3a332459f4)
29 lines
732 B
Nix
29 lines
732 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}"
|
|
'';
|
|
};
|
|
};
|
|
}
|