i3bar-river: add module (#6967)

This commit is contained in:
Aguirre Matteo 2025-05-04 00:12:02 +00:00 committed by GitHub
parent 64f7d5e6b9
commit 621986fed3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 91 additions and 0 deletions

View 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

View file

@ -0,0 +1 @@
{ i3bar-river-example-config = ./example-config.nix; }

View 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}
'';
}