Unify config into shell.json and add Noctalia plugin support

This commit is contained in:
Ryan Hughes
2026-05-14 02:21:48 -04:00
parent 5c0f5669c9
commit bcbe12b075
49 changed files with 2178 additions and 350 deletions
@@ -0,0 +1,19 @@
import QtQuick
import qs.Commons
// Noctalia compat shim. The original supports pointSize (interpreted as
// pixel size in Noctalia) plus an applyUiScale flag. We translate to
// font.pixelSize directly; uiScaleRatio comes from Style.
Text {
id: root
property real pointSize: 12
property bool applyUiScale: true
property var customFont: null
color: Color.mOnSurface
font.family: customFont || "JetBrainsMono Nerd Font"
font.pixelSize: Math.round(pointSize * (applyUiScale ? Style.uiScaleRatio : 1))
font.weight: Style.fontWeightRegular
verticalAlignment: Text.AlignVCenter
renderType: Text.NativeRendering
}