nix/home/config/sway/module/Font.nix

11 lines
182 B
Nix

{ config, ... }:
let
fontName = config.style.font.sansSerif.name;
in
# fontSize = toString config.style.font.size.desktop;
{
text = ''
font "${fontName} Medium 0.01"
'';
}