about summary refs log tree commit diff stats
path: root/modules/home.legacy/conf/mako/default.nix
blob: 604009878ddf4001d5939952a9e8b4ed1f28fb8a (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
45
46
47
48
49
# nixos-config - My current NixOS configuration
#
# Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de>
# SPDX-License-Identifier: GPL-3.0-or-later
#
# This file is part of my nixos-config.
#
# You should have received a copy of the License along with this program.
# If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
{...}: {
  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
    '';
  };
}