summaryrefslogtreecommitdiff
path: root/home/wayland/modules/sway
diff options
context:
space:
mode:
Diffstat (limited to 'home/wayland/modules/sway')
-rw-r--r--home/wayland/modules/sway/mako.nix8
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";
};