1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-14 04:51:08 +01:00

wofi: allow path to style.css (#6966)

This commit is contained in:
Aguirre Matteo 2025-05-04 00:11:10 +00:00 committed by GitHub
parent d1bbab6b04
commit 64f7d5e6b9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 24 additions and 6 deletions

View file

@ -1,4 +1,5 @@
{
wofi-basic-configuration = ./basic-configuration.nix;
wofi-empty-configuration = ./empty-configuration.nix;
wofi-style-local-file = ./style-local-file.nix;
}

View file

@ -0,0 +1,12 @@
{
programs.wofi = {
enable = true;
style = ./basic-style.css;
};
nmt.script = ''
assertFileExists home-files/.config/wofi/style.css
assertFileContent home-files/.config/wofi/style.css \
${./basic-style.css}
'';
}