summaryrefslogtreecommitdiff
path: root/accounts/gkleen@sif/niri/mako.nix
blob: 7e31f7e194274b2fad9205b0810708e21f046e24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ config, lib, ... }:
{
  config = {
    services.mako = {
      enable = true;
      font = "Fira Sans 10";
      format = "<i>%s</i>\\n%b";
      margin = "2";
      maxVisible = -1;
      backgroundColor = "#000000dd";
      progressColor = "source #223544ff";
      width = 384;
      extraConfig = ''
        outer-margin=1
        max-history=100

        [urgency=low]
        text-color=#999999ff

        [urgency=critical]
        background-color=#900000dd

        [mode=silent]
        invisible=1
      '';
    };
  };
}