i3bar-river: add module (#6967)
This commit is contained in:
parent
64f7d5e6b9
commit
621986fed3
6 changed files with 91 additions and 0 deletions
11
tests/modules/programs/i3bar-river/config.toml
Normal file
11
tests/modules/programs/i3bar-river/config.toml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
background = "#282828ff"
|
||||
color = "#ffffffff"
|
||||
font = "monospace 10"
|
||||
height = 24
|
||||
margin_bottom = 0
|
||||
margin_left = 0
|
||||
margin_top = 0
|
||||
separator = "#9a8a62ff"
|
||||
|
||||
["wm.river"]
|
||||
max_tag = 0
|
||||
1
tests/modules/programs/i3bar-river/default.nix
Normal file
1
tests/modules/programs/i3bar-river/default.nix
Normal file
|
|
@ -0,0 +1 @@
|
|||
{ i3bar-river-example-config = ./example-config.nix; }
|
||||
24
tests/modules/programs/i3bar-river/example-config.nix
Normal file
24
tests/modules/programs/i3bar-river/example-config.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
programs.i3bar-river = {
|
||||
enable = true;
|
||||
settings = {
|
||||
background = "#282828ff";
|
||||
color = "#ffffffff";
|
||||
separator = "#9a8a62ff";
|
||||
font = "monospace 10";
|
||||
height = 24;
|
||||
margin_top = 0;
|
||||
margin_bottom = 0;
|
||||
margin_left = 0;
|
||||
"wm.river" = {
|
||||
max_tag = 0;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
nmt.script = ''
|
||||
assertFileExists home-files/.config/i3bar-river/config.toml
|
||||
assertFileContent home-files/.config/i3bar-river/config.toml \
|
||||
${./config.toml}
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue