Add `mantra' beneath clock (#1828)

This commit is contained in:
end-4
2025-08-17 06:22:20 +02:00
committed by GitHub
2 changed files with 14 additions and 0 deletions
@@ -242,6 +242,19 @@ Variants {
styleColor: Appearance.colors.colShadow
text: DateTime.date
}
StyledText {
horizontalAlignment: bgRoot.textHorizontalAlignment
font {
family: Appearance.font.family.expressive
pixelSize: 20
weight: Font.DemiBold
}
color: bgRoot.colText
style: Text.Raised
visible: Config.options.background.mantra !== ""
styleColor: Appearance.colors.colShadow
text: Config.options.background.mantra
}
}
RowLayout {
@@ -126,6 +126,7 @@ Singleton {
property real workspaceZoom: 1.07 // Relative to your screen, not wallpaper size
property bool enableSidebar: true
}
property string mantra: ""
}
property JsonObject bar: JsonObject {