summaryrefslogtreecommitdiff
path: root/config/BarConfig.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-07-19 15:03:22 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-07-19 15:03:22 +1000
commitdf4b3b85a949c6aa1952963a7455f88578a080d5 (patch)
treedea13f6d90e8ccefef03e9a4620d3708e3bcd3ee /config/BarConfig.qml
parentwallpapers: show subdirs in name (diff)
downloadcaelestia-shell-df4b3b85a949c6aa1952963a7455f88578a080d5.tar.gz
caelestia-shell-df4b3b85a949c6aa1952963a7455f88578a080d5.tar.bz2
caelestia-shell-df4b3b85a949c6aa1952963a7455f88578a080d5.zip
internal: fix types for lsp
Diffstat (limited to 'config/BarConfig.qml')
-rw-r--r--config/BarConfig.qml18
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
+ }
}