From d4f7650cd0735d1fe9173530cc31c24b65ed44ff Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Mon, 3 Jun 2024 20:50:58 +0530 Subject: global/font: init --- home/wayland/modules/sway/mako.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'home/wayland/modules/sway') 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"; }; -- cgit v1.2.3