From 037b50d6087faf294c657cae944c4a10b6d5250c Mon Sep 17 00:00:00 2001 From: sefidel Date: Thu, 14 Sep 2023 22:48:51 +0900 Subject: feat(home): basic HiDPI support --- home/profiles/gui/config/waybar/style.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'home/profiles/gui/config/waybar') diff --git a/home/profiles/gui/config/waybar/style.nix b/home/profiles/gui/config/waybar/style.nix index d8714ed..5009ccb 100644 --- a/home/profiles/gui/config/waybar/style.nix +++ b/home/profiles/gui/config/waybar/style.nix @@ -1,13 +1,16 @@ -{ neotheme }: +{ config, neotheme }: with neotheme.colors; +let + guiCfg = config.profiles.gui; +in '' * { border: none; border-radius: 0; - font-family: "Dina, JetBrainsMono Nerd Font"; - font-size: 12px; + font-family: "${guiCfg.font.name}, JetBrainsMono Nerd Font"; + font-size: ${toString guiCfg.font.pixelSize}px; min-height: 0; } -- cgit 1.4.1