summaryrefslogtreecommitdiff
path: root/accounts/gkleen@sif/niri/mako.nix
blob: 70b8a30272702da12540037cb54dbd0c6e80e1b5 (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
29
30
31
32
33
34
{ 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

        [grouped]
        format=<b>(%g)</b> <i>%s</i>\n%b

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

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

        [app-name=Element]
        group-by=summary

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