Keep dunst, libgemui dialogs, and anode-vkbd on Fira Code

This commit is contained in:
Luxferre committed 2026-11-26 17:10:08 +02:00
1 parent 418fa85b3a
commit cf1544eb0c
9 files changed
+16 -75

No files matched your search

+3 -4
View File
@@ -167,7 +167,7 @@ def test_fractional_scales():
with open(os.path.join(tmp, ".config", "dunst", "dunstrc"), "r", encoding="utf-8") as f:
drc = f.read()
assert "scale = 1" in drc, drc
assert f"font = {exp_ui} {exp_px}px" in drc, drc
assert f"font = Fira Code {exp_px}px" in drc, drc
# Verify Fontconfig + Qt5 + Qt6 + Kvantum + Dunst + GTK2/3/4 files
for p in [
@@ -333,9 +333,8 @@ def test_stale_env_does_not_override_scale_conf():
assert xres["Xft.dpi"] == "120", xres["Xft.dpi"]
assert xres["theme.touchMode"] == "0", xres["theme.touchMode"]
exp_ui = detect_expected_ui_font()
with open(os.path.join(tmp, ".config", "dunst", "dunstrc"), "r", encoding="utf-8") as f:
assert f"font = {exp_ui} 19px" in f.read()
assert "font = Fira Code 19px" in f.read()
with open(os.path.join(tmp, ".config", "gtk-3.0", "settings.ini"), "r", encoding="utf-8") as f:
assert "gtk-cursor-theme-size=24" in f.read()
@@ -457,7 +456,7 @@ def test_ui_font_fallback_roboto_to_noto_sans():
assert 'general="Noto Sans,10,' in qc, qc
assert 'fixed="Fira Code,10,' in qc, qc
with open(os.path.join(tmp, ".config", "dunst", "dunstrc"), "r", encoding="utf-8") as f:
assert "font = Noto Sans 19px" in f.read()
assert "font = Fira Code 19px" in f.read()
import xml.etree.ElementTree as ET
fc_root = ET.parse(os.path.join(tmp, ".config", "fontconfig", "conf.d", "60-anode-fonts.conf")).getroot()