From 6792d0975dafa4bb144afb48725154bf3972749e Mon Sep 17 00:00:00 2001 From: Andrea Ciceri Date: Thu, 19 Jan 2023 18:32:38 +0100 Subject: [PATCH] Disabled `dpi-aware` in `foot` --- hmModules/foot/default.nix | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/hmModules/foot/default.nix b/hmModules/foot/default.nix index 20954c3..e6b46e2 100644 --- a/hmModules/foot/default.nix +++ b/hmModules/foot/default.nix @@ -1,4 +1,4 @@ -{ +{lib, ...}: { programs.foot = { enable = true; server.enable = true; @@ -6,7 +6,17 @@ main = { term = "xterm-256color"; login-shell = "yes"; - font = "Fira Code,Symbols Nerd Font,JoyPixels"; + # Using dpi-aware = "yes" font size is too small on my external monitor + # Scaling that output in sway is inefficient and make XWayland apps blurred + dpi-aware = "no"; + font = let + size = "12"; + in + lib.concatStringsSep ", " [ + "Fira Code:size=${size}" + "Symbols Nerd Font:size=${size}" + "JoyPixels:size=${size}" + ]; }; mouse = {