fork/home-manager

git clone https://git.julia.blue/fork/home-manager

Nicolas Berbichewaybar: make module a freeform module, remove warnings7c320a53

master
1.0 KiB46 linesraw
1{ config, lib, pkgs, ... }:
2
3with lib;
4
5{
6  config = {
7    home.stateVersion = "21.11";
8
9    programs.waybar = {
10      package = config.lib.test.mkStubPackage { outPath = "@waybar@"; };
11      enable = true;
12      style = ''
13        * {
14            border: none;
15            border-radius: 0;
16            font-family: Source Code Pro;
17            font-weight: bold;
18            color: #abb2bf;
19            font-size: 18px;
20            min-height: 0px;
21        }
22        window#waybar {
23            background: #16191C;
24            color: #aab2bf;
25        }
26        #window {
27            padding: 0 0px;
28        }
29        #workspaces button:hover {
30            box-shadow: inherit;
31            text-shadow: inherit;
32            background: #16191C;
33            border: #16191C;
34            padding: 0 3px;
35        }
36      '';
37    };
38
39    nmt.script = ''
40      assertPathNotExists home-files/.config/waybar/config
41      assertFileContent \
42        home-files/.config/waybar/style.css \
43        ${./styling-expected.css}
44    '';
45  };
46}