From df4b3b85a949c6aa1952963a7455f88578a080d5 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sat, 19 Jul 2025 15:03:22 +1000 Subject: internal: fix types for lsp --- config/BarConfig.qml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'config/BarConfig.qml') diff --git a/config/BarConfig.qml b/config/BarConfig.qml index bfca030..472bd4b 100644 --- a/config/BarConfig.qml +++ b/config/BarConfig.qml @@ -4,15 +4,10 @@ JsonObject { property bool persistent: true property bool showOnHover: true property int dragThreshold: 20 + property Workspaces workspaces: Workspaces {} + property Sizes sizes: Sizes {} - property JsonObject sizes: JsonObject { - property int innerHeight: 30 - property int windowPreviewSize: 400 - property int trayMenuWidth: 300 - property int batteryWidth: 250 - } - - property JsonObject workspaces: JsonObject { + component Workspaces: JsonObject { property int shown: 5 property bool rounded: true property bool activeIndicator: true @@ -23,4 +18,11 @@ JsonObject { property string occupiedLabel: "󰮯 " property string activeLabel: "󰮯 " } + + component Sizes: JsonObject { + property int innerHeight: 30 + property int windowPreviewSize: 400 + property int trayMenuWidth: 300 + property int batteryWidth: 250 + } } -- cgit v1.2.3-freya