diff options
Diffstat (limited to 'config/BarConfig.qml')
| -rw-r--r-- | config/BarConfig.qml | 18 |
1 files changed, 10 insertions, 8 deletions
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 + } } |