Added theme engine support and aur publish pipeline
Publish to AUR / publish (push) Successful in 42s

This commit is contained in:
Radu Macocian
2026-06-09 11:01:37 +02:00
parent 170a320564
commit a393bea490
5 changed files with 127 additions and 17 deletions
+22
View File
@@ -13,6 +13,16 @@ QtObject {
property string giphyApiKey: ""
property int panelWidth: 720
property int panelHeight: 520
property int padding: 5
property int spacing: 5
property int radius: 10
property string backgroundColor: ""
property string foregroundColor: ""
property string idleColor: ""
property string accentColor: ""
property string overlayStrongColor: ""
property string overlayWeakColor: ""
property string borderColor: ""
property bool loaded: false
@@ -22,6 +32,18 @@ QtObject {
if (typeof obj.giphyApiKey === "string") giphyApiKey = obj.giphyApiKey;
if (typeof obj.panelWidth === "number" && obj.panelWidth > 0) panelWidth = obj.panelWidth;
if (typeof obj.panelHeight === "number" && obj.panelHeight > 0) panelHeight = obj.panelHeight;
if (typeof obj.padding === "number" && obj.padding > 0) padding = obj.padding;
if (typeof obj.spacing === "number" && obj.spacing > 0) spacing = obj.spacing;
if (typeof obj.radius === "number" && obj.radius >= 0) radius = obj.radius;
const colors = obj.colors || {};
if (typeof colors.background === "string" && colors.background.length > 0) backgroundColor = colors.background;
if (typeof colors.foreground === "string" && colors.foreground.length > 0) foregroundColor = colors.foreground;
if (typeof colors.idle === "string" && colors.idle.length > 0) idleColor = colors.idle;
if (typeof colors.accent === "string" && colors.accent.length > 0) accentColor = colors.accent;
if (typeof colors.overlayStrong === "string" && colors.overlayStrong.length > 0) overlayStrongColor = colors.overlayStrong;
if (typeof colors.overlayWeak === "string" && colors.overlayWeak.length > 0) overlayWeakColor = colors.overlayWeak;
if (typeof colors.border === "string" && colors.border.length > 0) borderColor = colors.border;
}
property Process _loader: Process {