summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/Appearance.qml1
-rw-r--r--config/BackgroundConfig.qml16
-rw-r--r--config/BarConfig.qml3
3 files changed, 17 insertions, 3 deletions
diff --git a/config/Appearance.qml b/config/Appearance.qml
index a806aa1..1a5f58a 100644
--- a/config/Appearance.qml
+++ b/config/Appearance.qml
@@ -8,7 +8,6 @@ import Qt.labs.platform
Singleton {
id: root
- property bool borders: true
property bool light: false
readonly property Transparency transparency: Transparency {}
readonly property Rounding rounding: Rounding {}
diff --git a/config/BackgroundConfig.qml b/config/BackgroundConfig.qml
new file mode 100644
index 0000000..a4481fd
--- /dev/null
+++ b/config/BackgroundConfig.qml
@@ -0,0 +1,16 @@
+pragma Singleton
+
+import Quickshell
+import QtQuick
+
+Singleton {
+ id: root
+
+ readonly property Border border: Border {}
+
+ component Border: QtObject {
+ readonly property bool enabled: false
+ readonly property int thickness: Appearance.padding.normal
+ readonly property int rounding: Appearance.rounding.large
+ }
+}
diff --git a/config/BarConfig.qml b/config/BarConfig.qml
index f0899b4..18eaf23 100644
--- a/config/BarConfig.qml
+++ b/config/BarConfig.qml
@@ -19,8 +19,7 @@ Singleton {
property int totalHeight: height
property int height: 40
property int innerHeight: 30
- property int floatingGap: 10
- property int floatingGapLarge: 15
+ property int floatingGap: 10 + BackgroundConfig.border.thickness
property int maxLabelWidth: 600
property int maxLabelHeight: 400
}