greenhouse

kore

my public infrastructure monorepo

git clone [email protected]:kore.git

kore / home / features / wayland / mako.nix34 lines · 631B · 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      "urgency=critical" = {
29        border-color = c.red;
30        default-timeout = 0;
31      };
32    };
33  };
34}