nix/module/foot/Init.nix

14 lines
447 B
Nix
Raw Normal View History

2024-04-02 22:24:45 +03:00
{ pkgs, fontSize, color, ... }: {
config = pkgs.writeText "foot_config" ''
font=Terminess Nerd Font Mono:size=${toString(fontSize)}
# font-bold=Terminess Nerd Font Mono:size=${toString(fontSize)}:weight=bold
font-italic=Terminess Nerd Font Mono:size=${toString(fontSize)}
font-bold-italic=Terminess Nerd Font Mono:weight=bold:size=${toString(fontSize)}
dpi-aware=yes
[colors]
background=${color.bg}
foreground=${color.fg}
'';
}