diff options
author | sefidel <contact@sefidel.net> | 2023-09-14 22:48:51 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2023-09-14 22:48:51 +0900 |
commit | 037b50d6087faf294c657cae944c4a10b6d5250c (patch) | |
tree | 38d01e93782b5f2fa140e62e6bcaf4a508f7b21c /home/profiles/gui/config/foot.nix | |
parent | 75b3280002b55e0be4ac97fb180af2248c710106 (diff) | |
download | nixrc-037b50d6087faf294c657cae944c4a10b6d5250c.tar.gz nixrc-037b50d6087faf294c657cae944c4a10b6d5250c.zip |
feat(home): basic HiDPI support
Diffstat (limited to 'home/profiles/gui/config/foot.nix')
-rw-r--r-- | home/profiles/gui/config/foot.nix | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/home/profiles/gui/config/foot.nix b/home/profiles/gui/config/foot.nix index 9296b48..61fecf7 100644 --- a/home/profiles/gui/config/foot.nix +++ b/home/profiles/gui/config/foot.nix @@ -1,13 +1,16 @@ -{ neotheme }: +{ config, neotheme }: with neotheme.colors; +let + guiCfg = config.profiles.gui; +in { main = { term = "foot"; - font = "Dina:pixelsize=13,JetBrainsMono Nerd Font:pixelsize=12"; + font = "${guiCfg.font.name}:pixelsize=${toString guiCfg.font.pixelSize},JetBrainsMono Nerd Font:pixelsize=12"; letter-spacing = 0; - dpi-aware = "yes"; + # dpi-aware = "yes"; pad = "16x16 center"; }; |