summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/BackgroundConfig.qml5
-rw-r--r--config/Config.qml2
2 files changed, 7 insertions, 0 deletions
diff --git a/config/BackgroundConfig.qml b/config/BackgroundConfig.qml
new file mode 100644
index 0000000..9bcca87
--- /dev/null
+++ b/config/BackgroundConfig.qml
@@ -0,0 +1,5 @@
+import Quickshell.Io
+
+JsonObject {
+ property bool enabled: true
+}
diff --git a/config/Config.qml b/config/Config.qml
index e713023..1ab8cb4 100644
--- a/config/Config.qml
+++ b/config/Config.qml
@@ -7,6 +7,7 @@ import Quickshell.Io
Singleton {
id: root
+ property alias background: adapter.background
property alias bar: adapter.bar
property alias border: adapter.border
property alias dashboard: adapter.dashboard
@@ -28,6 +29,7 @@ Singleton {
JsonAdapter {
id: adapter
+ property BackgroundConfig background: BackgroundConfig {}
property BarConfig bar: BarConfig {}
property BorderConfig border: BorderConfig {}
property DashboardConfig dashboard: DashboardConfig {}