summaryrefslogtreecommitdiff
path: root/home/wayland/modules/sway/mako.nix
diff options
context:
space:
mode:
Diffstat (limited to 'home/wayland/modules/sway/mako.nix')
-rw-r--r--home/wayland/modules/sway/mako.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/home/wayland/modules/sway/mako.nix b/home/wayland/modules/sway/mako.nix
index fdc939e..d545cd1 100644
--- a/home/wayland/modules/sway/mako.nix
+++ b/home/wayland/modules/sway/mako.nix
@@ -1,8 +1,7 @@
{ config, pkgs, lib, ... }: let
font = config.global.font.sans.name
- + " "
+ lib.optionalString (config.global.font.sans.size != null)
- (builtins.toString config.global.font.sans.size);
+ " " + builtins.toString config.global.font.sans.size;
in {
home.packages = with pkgs; [ libnotify ];