about summary refs log tree commit diff stats
path: root/modules/home.legacy/conf/mako/default.nix
blob: 711457f2ab2cab29a387916d3780adfa36534163 (plain) (blame)
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
35
36
37
38
39
40
41
42
43
44
{
  config,
  pkgs,
  ...
}: {
  services.mako = {
    enable = true;
    backgroundColor = "#2e3440";
    borderColor = "#88c0d0";
    borderRadius = 25;
    borderSize = 2;
    defaultTimeout = 5000;
    font = "Source Code Pro 10";
    width = 500;
    height = 500;
    icons = true;
    ignoreTimeout = true;
    layer = "overlay";
    markup = true; # TODO:
    maxIconSize = 64;
    sort = "-time";
    extraConfig = ''
      [urgency=low]
      border-color=#cccccc

      [urgency=normal]
      border-color=#d08770

      [urgency=high]
      border-size=3
      border-color=#bf616a
      default-timeout=0

      [urgency=critical]
      border-size=4
      border-color=#bf616a
      default-timeout=0

      [category=mpd]
      default-timeout=2000
      group-by=category
    '';
  };
}