1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-05 02:39:45 +01:00
home-manager/tests/modules/programs/wlogout/styling.nix

40 lines
827 B
Nix
Raw Normal View History

2023-01-31 17:06:18 +01:00
{ config, lib, pkgs, ... }:
with lib;
{
config = {
home.stateVersion = "22.11";
programs.wlogout = {
package = config.lib.test.mkStubPackage { outPath = "@wlogout@"; };
enable = true;
style = ''
* {
border: none;
border-radius: 0;
font-family: Source Code Pro;
font-weight: bold;
color: #abb2bf;
font-size: 18px;
min-height: 0px;
}
window {
background: #16191C;
color: #aab2bf;
}
#window {
padding: 0 0px;
}
'';
};
nmt.script = ''
assertPathNotExists home-files/.config/wlogout/layout
assertFileContent \
home-files/.config/wlogout/style.css \
${./styling-expected.css}
'';
};
}