Disabled dpi-aware in foot

This commit is contained in:
Andrea Ciceri 2023-01-19 18:32:38 +01:00
parent e588857c18
commit 6792d0975d
No known key found for this signature in database
GPG key ID: A1FC89532D1C5654

View file

@ -1,4 +1,4 @@
{ {lib, ...}: {
programs.foot = { programs.foot = {
enable = true; enable = true;
server.enable = true; server.enable = true;
@ -6,7 +6,17 @@
main = { main = {
term = "xterm-256color"; term = "xterm-256color";
login-shell = "yes"; 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 = { mouse = {