modules/foot: All highDPI now <3

This commit is contained in:
fleaz 2024-01-16 12:05:00 +01:00
parent 980dbc9a88
commit 08f908b7b3
No known key found for this signature in database
GPG key ID: AED15F8FDD04D083

View file

@ -1,16 +1,10 @@
{ nixosConfig
, ...
}:
let
fontSize = hiDPI: if hiDPI then "FiraCode:size=14" else "FiraCode:size=8";
in
{ {
programs.foot = { programs.foot = {
enable = true; enable = true;
settings = { settings = {
main = { main = {
term = "xterm-256color"; term = "xterm-256color";
font = fontSize nixosConfig.my.highDPI; font = "FiraCode:size=14";
pad = "3x3"; pad = "3x3";
}; };
scrollback = { lines = 100000; }; scrollback = { lines = 100000; };