diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-05 10:19:46 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-05 10:19:46 +1000 |
| commit | c665c0ca98d72c172893e8bbd9c893aaa2b9f46e (patch) | |
| tree | 160713bc48b5332c0534d0d235ef7f100344eb58 /config | |
| parent | bar: add scroll actions to fillers (diff) | |
| download | caelestia-shell-c665c0ca98d72c172893e8bbd9c893aaa2b9f46e.tar.gz caelestia-shell-c665c0ca98d72c172893e8bbd9c893aaa2b9f46e.tar.bz2 caelestia-shell-c665c0ca98d72c172893e8bbd9c893aaa2b9f46e.zip | |
feat: border + colour changes
Diffstat (limited to 'config')
| -rw-r--r-- | config/Appearance.qml | 1 | ||||
| -rw-r--r-- | config/BackgroundConfig.qml | 16 | ||||
| -rw-r--r-- | config/BarConfig.qml | 3 |
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 } |