kickoff: add module (#6918)
This commit is contained in:
parent
be7cf1709b
commit
69c60b035e
6 changed files with 100 additions and 0 deletions
1
tests/modules/programs/kickoff/default.nix
Normal file
1
tests/modules/programs/kickoff/default.nix
Normal file
|
|
@ -0,0 +1 @@
|
|||
{ kickoff-example-config = ./example-config.nix; }
|
||||
26
tests/modules/programs/kickoff/example-config.nix
Normal file
26
tests/modules/programs/kickoff/example-config.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
programs.kickoff = {
|
||||
enable = true;
|
||||
settings = {
|
||||
padding = 100;
|
||||
font_size = 32;
|
||||
search.show_hidden_files = false;
|
||||
history.decrease_interval = 48;
|
||||
|
||||
keybinding = {
|
||||
paste = [ "ctrl+v" ];
|
||||
execute = [
|
||||
"KP_Enter"
|
||||
"Return"
|
||||
];
|
||||
complete = [ "Tab" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
nmt.script = ''
|
||||
assertFileExists home-files/.config/kickoff/config.toml
|
||||
assertFileContent home-files/.config/kickoff/config.toml \
|
||||
${./example-config.toml}
|
||||
'';
|
||||
}
|
||||
13
tests/modules/programs/kickoff/example-config.toml
Normal file
13
tests/modules/programs/kickoff/example-config.toml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
font_size = 32
|
||||
padding = 100
|
||||
|
||||
[history]
|
||||
decrease_interval = 48
|
||||
|
||||
[keybinding]
|
||||
complete = ["Tab"]
|
||||
execute = ["KP_Enter", "Return"]
|
||||
paste = ["ctrl+v"]
|
||||
|
||||
[search]
|
||||
show_hidden_files = false
|
||||
Loading…
Add table
Add a link
Reference in a new issue