From f934b9bbc94c1dce61a80d92d2bf04bf975a1644 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Wed, 7 Aug 2024 22:14:28 -0400 Subject: [PATCH] waybar: calculate font size from theme font settings --- homeManagerModules/services/waybar/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeManagerModules/services/waybar/default.nix b/homeManagerModules/services/waybar/default.nix index c10d0fff..27a32049 100644 --- a/homeManagerModules/services/waybar/default.nix +++ b/homeManagerModules/services/waybar/default.nix @@ -259,7 +259,7 @@ in { border: none; border-radius: 0px; font-family: "${cfg.theme.monospaceFont.name}"; - font-size: 14px; + font-size: ${toString (cfg.theme.monospaceFont.size + 3)}px; font-weight: 600; }