greenhouse

kore

my public infrastructure monorepo

git clone [email protected]:kore.git

kore / home / features / wayland / mako.nix39 lines · 747B · raw

1{ outputs, ... }:
2
3let
4  c = outputs.palette.colors;
5in {
6  services.mako = {
7    enable = true;
8
9    settings = {
10      font = "Fantasque Sans Mono 11";
11      anchor = "top-right";
12      margin = "10";
13      padding = "8,10";
14      width = 360;
15      border-size = 1;
16      border-radius = 0;
17      default-timeout = 5000;
18
19      background-color = c.bg;
20      text-color = c.fg;
21      border-color = c.surface;
22      progress-color = "over ${c.surface}";
23
24      "urgency=low" = {
25        text-color = c.dim;
26      };
27
28      "category=volume" = {
29        default-timeout = 1500;
30        progress-color = "over ${c.green}40";
31      };
32
33      "urgency=critical" = {
34        border-color = c.red;
35        default-timeout = 0;
36      };
37    };
38  };
39}