The Desktop Change OSD script currently displays the desktop name using a Kirigami.Heading with no configurable font size. On high-resolution or large displays, the text can be too small to be useful.
This patch adds a FontSize configuration key (default: current implicit size) readable via KWin.readConfig("FontSize", default), consistent with the existing PopupHideDelay and TextOnly keys already present in the script.
Changes:
-
osd.qml: readFontSizefrom config and apply toKirigami.Heading -
contents/config/main.xml: declare theFontSizeentry -
contents/ui/config.ui: add a spin box in the script settings panel
No breaking changes — the default value preserves current behavior.