hyfetch: add module
This commit is contained in:
parent
7146638e9e
commit
d1c677ac25
8 changed files with 92 additions and 0 deletions
25
tests/modules/programs/hyfetch/settings.nix
Normal file
25
tests/modules/programs/hyfetch/settings.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
programs.hyfetch = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
preset = "rainbow";
|
||||
mode = "rgb";
|
||||
light_dark = "dark";
|
||||
lightness = 0.5;
|
||||
color_align = {
|
||||
mode = "horizontal";
|
||||
custom_colors = [ ];
|
||||
fore_back = null;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
test.stubs.hyfetch = { };
|
||||
|
||||
nmt.script = ''
|
||||
assertFileContent home-files/.config/hyfetch.json ${./hyfetch.json}
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue