summaryrefslogtreecommitdiff
path: root/features/user/gui/desktops/niri/parts/mako.nix
blob: e5bc3b858225436c8f7dbf607759473d747a52d1 (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
{
  config,
  lib,
  ...
}: let
  cfg = config.features.gui.desktops.niri.parts.mako;
in {
  options.features.gui.desktops.niri.parts.mako.enable = lib.mkEnableOption "mako";
  config = lib.mkIf cfg.enable {
    services.mako = {
      enable = true;
      settings = {
        border-radius = 4;
        border-size = 3;
        # margin = "11";
        margin = "31";
        padding = "5";

        anchor = "top-center";

        ignore-timeout = true;
        default-timeout = 10000;
      };
    };
  };
}