gdu: init (#1995)
Link: https://github.com/nix-community/stylix/pull/1995 Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
This commit is contained in:
parent
8ca5c7fbab
commit
b9b0501839
5 changed files with 61 additions and 0 deletions
|
|
@ -187,6 +187,12 @@
|
||||||
];
|
];
|
||||||
name = "Viktor Titov";
|
name = "Viktor Titov";
|
||||||
};
|
};
|
||||||
|
omega-800 = {
|
||||||
|
email = "gshevoroshkin@gmail.com";
|
||||||
|
github = "omega-800";
|
||||||
|
githubId = 50942480;
|
||||||
|
name = "Georgiy Shevoroshkin";
|
||||||
|
};
|
||||||
osipog = {
|
osipog = {
|
||||||
email = "osibluber@protonmail.com";
|
email = "osibluber@protonmail.com";
|
||||||
github = "osipog";
|
github = "osipog";
|
||||||
|
|
|
||||||
32
modules/gdu/hm.nix
Normal file
32
modules/gdu/hm.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
||||||
|
{
|
||||||
|
mkTarget,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
mkTarget {
|
||||||
|
name = "go DiskUsage()";
|
||||||
|
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}"
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
6
modules/gdu/meta.nix
Normal file
6
modules/gdu/meta.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
{ lib, ... }:
|
||||||
|
{
|
||||||
|
name = "gdu";
|
||||||
|
homepage = "https://github.com/dundee/gdu";
|
||||||
|
maintainers = [ lib.maintainers.omega-800 ];
|
||||||
|
}
|
||||||
11
modules/gdu/testbeds/gdu.nix
Normal file
11
modules/gdu/testbeds/gdu.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
{ lib, pkgs, ... }:
|
||||||
|
{
|
||||||
|
stylix.testbed.ui.command = {
|
||||||
|
text = "gdu";
|
||||||
|
useTerminal = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
home-manager.sharedModules = lib.singleton {
|
||||||
|
home.packages = [ pkgs.gdu ];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -53,6 +53,12 @@
|
||||||
github = "michaelgoldenn";
|
github = "michaelgoldenn";
|
||||||
githubId = 95949544;
|
githubId = 95949544;
|
||||||
};
|
};
|
||||||
|
omega-800 = {
|
||||||
|
email = "gshevoroshkin@gmail.com";
|
||||||
|
name = "Georgiy Shevoroshkin";
|
||||||
|
github = "omega-800";
|
||||||
|
githubId = 50942480;
|
||||||
|
};
|
||||||
osipog = {
|
osipog = {
|
||||||
email = "osibluber@protonmail.com";
|
email = "osibluber@protonmail.com";
|
||||||
name = "Osi Bluber";
|
name = "Osi Bluber";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue