feat(st): default terminal font to Fira Code size=13 scaled via Xft.dpi

This commit is contained in:
Luxferre committed 2026-11-26 15:24:35 +02:00
1 parent d351265623
commit 0d8b7994bc
30 files changed
+38 -37

No files matched your search

+5
View File
@@ -465,6 +465,11 @@ def test_st_font_override_and_dunst():
return inc
if shutil.which("xprop"):
inc_default = launch_st_and_get_height_inc(
"Xft.dpi: 144\n"
)
assert inc_default and inc_default >= 28, f"Expected default size=13 @ 144 DPI height_inc >= 28, got {inc_default}"
inc_small = launch_st_and_get_height_inc(
"Xft.dpi: 144\nst.font: Fira Code:pixelsize=15:style=Regular:antialias=true:autohint=true\n"
)