From 55d00cc44fcb3ae89d3ad27a236fa30f167d80a2 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Thu, 29 Oct 2026 09:55:20 +0100 Subject: fonts: sizes belong to the keystone fonts page The Qt and GTK templates no longer carry font sizes, so a re-install no longer resets what the keystone settings window (Appearance > Fonts) sets. Every rofi font is now var(kf--, "Family N"): the fallback is the designed size, and ~/.config/keystone/rofi-fonts.rasi, imported by common.rasi when present, overrides it. rofi tolerates the import being absent, so the designed sizes still apply without it. Co-Authored-By: Claude Opus 5.5 --- templates/qt-gtk/gtk3-settings.ini | 4 ++-- templates/qt-gtk/qt5ct.conf | 6 ++---- templates/qt-gtk/qt6ct.conf | 6 ++---- 3 files changed, 6 insertions(+), 10 deletions(-) (limited to 'templates') diff --git a/templates/qt-gtk/gtk3-settings.ini b/templates/qt-gtk/gtk3-settings.ini index f0fe1d8..8c961a5 100644 --- a/templates/qt-gtk/gtk3-settings.ini +++ b/templates/qt-gtk/gtk3-settings.ini @@ -1,7 +1,7 @@ # Merged into ~/.config/gtk-3.0/settings.ini by install.sh, key by key: every # key here is set, every other key in the live file is left alone. Icons, -# cursor, modules and sounds are the appearance drawer's to set. +# cursor, modules and sounds are the appearance drawer's to set, and the +# font the keystone fonts page's. [Settings] gtk-application-prefer-dark-theme=true -gtk-font-name=Noto Sans, 10 gtk-theme-name=udt diff --git a/templates/qt-gtk/qt5ct.conf b/templates/qt-gtk/qt5ct.conf index cb94ab7..5db6334 100644 --- a/templates/qt-gtk/qt5ct.conf +++ b/templates/qt-gtk/qt5ct.conf @@ -1,10 +1,8 @@ # Merged into ~/.config/qt5ct/qt5ct.conf by install.sh, key by key: every key # here is set, every other key in the live file is left alone. icon_theme is -# the appearance drawer's to set, so it is not here. +# the appearance drawer's to set, and the [Fonts] sizes the keystone fonts +# page's, so neither is here. [Appearance] custom_palette=false standard_dialogs=xdgdesktopportal style=kvantum-dark -[Fonts] -fixed="Inconsolata Nerd Font Mono,14,-1,5,50,0,0,0,0,0" -general="Noto Sans,14,-1,5,50,0,0,0,0,0,Regular" diff --git a/templates/qt-gtk/qt6ct.conf b/templates/qt-gtk/qt6ct.conf index 4de7efa..d62f0e6 100644 --- a/templates/qt-gtk/qt6ct.conf +++ b/templates/qt-gtk/qt6ct.conf @@ -1,10 +1,8 @@ # Merged into ~/.config/qt6ct/qt6ct.conf by install.sh, key by key: every key # here is set, every other key in the live file is left alone. icon_theme is -# the appearance drawer's to set, so it is not here. +# the appearance drawer's to set, and the [Fonts] sizes the keystone fonts +# page's, so neither is here. [Appearance] custom_palette=false standard_dialogs=xdgdesktopportal style=kvantum-dark -[Fonts] -fixed="Inconsolata Nerd Font Mono,14,-1,5,400,0,0,0,0,0,0,0,0,0,0,1,,0,0" -general="Noto Sans,14,-1,5,400,0,0,0,0,0,0,0,0,0,0,1,Regular,0,0" -- cgit v1.2.3