diff options
Diffstat (limited to 'home/wayland/modules/sway')
-rw-r--r-- | home/wayland/modules/sway/mako.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/home/wayland/modules/sway/mako.nix b/home/wayland/modules/sway/mako.nix index 4280fdf..028ae66 100644 --- a/home/wayland/modules/sway/mako.nix +++ b/home/wayland/modules/sway/mako.nix @@ -1,8 +1,14 @@ -{ ... }: { +{ config, lib, ... }: let + font = config.global.font.sans.name + + " " + + lib.optionalString (config.global.font.sans.size != null) + (builtins.toString config.global.font.sans.size); +in { services.mako = { enable = true; defaultTimeout = 3000; + inherit font; borderSize = 2; backgroundColor = "#000000"; }; |