summaryrefslogtreecommitdiff
path: root/home/wayland/modules/sway/mako.nix
blob: d545cd170b57866c749ae85d5ac1b137e79a01e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ config, pkgs, lib, ... }: let
  font = config.global.font.sans.name
    + lib.optionalString (config.global.font.sans.size != null)
      " " + builtins.toString config.global.font.sans.size;
in {
  home.packages = with pkgs; [ libnotify ];

  services.mako = {
    enable = true;
    defaultTimeout = 3000;

    inherit font;
    borderSize = 2;
    backgroundColor = "#000000";
  };
}