Sway : Use font name from config.

This commit is contained in:
Dmitry Voronin 2024-07-27 16:13:29 +03:00
parent 37c804c53b
commit 569a1e4859
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -1,5 +1,8 @@
{ ... }: {
{ config, ... }: let
fontName = config.style.font.sansSerif.name;
# fontSize = toString config.style.font.size.desktop;
in {
text = ''
font "SF Pro Display Medium 0.001"
font "${fontName} Medium 0.001"
'';
}