diff options
author | sinanmohd <sinan@sinanmohd.com> | 2024-06-03 20:50:58 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2024-06-03 21:25:00 +0530 |
commit | d4f7650cd0735d1fe9173530cc31c24b65ed44ff (patch) | |
tree | 82086000936fed44120734ce2308207478d73954 /home/wayland/modules/sway | |
parent | 279ff6251173e161cc50d8ae03cb3cd2e90a61a4 (diff) |
global/font: init
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"; }; |