diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-06 18:15:06 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-06 18:15:06 +1000 |
| commit | bdd37012bb1e855220e465fa6db101bed0cc4992 (patch) | |
| tree | 9a33eab811458934a1fb1c09067d0aebf91bad47 /config | |
| parent | launcher: use qsTr properly (diff) | |
| download | caelestia-shell-bdd37012bb1e855220e465fa6db101bed0cc4992.tar.gz caelestia-shell-bdd37012bb1e855220e465fa6db101bed0cc4992.tar.bz2 caelestia-shell-bdd37012bb1e855220e465fa6db101bed0cc4992.zip | |
refactor: popout layer consistency with border
Make them use the same background colour and rounding as the border
Diffstat (limited to 'config')
| -rw-r--r-- | config/BackgroundConfig.qml | 16 | ||||
| -rw-r--r-- | config/BorderConfig.qml | 13 |
2 files changed, 13 insertions, 16 deletions
diff --git a/config/BackgroundConfig.qml b/config/BackgroundConfig.qml deleted file mode 100644 index a4481fd..0000000 --- a/config/BackgroundConfig.qml +++ /dev/null @@ -1,16 +0,0 @@ -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/BorderConfig.qml b/config/BorderConfig.qml new file mode 100644 index 0000000..a69cf59 --- /dev/null +++ b/config/BorderConfig.qml @@ -0,0 +1,13 @@ +pragma Singleton + +import "root:/services" +import Quickshell +import QtQuick + +Singleton { + id: root + + readonly property color colour: Colours.palette.m3surface + readonly property int thickness: Appearance.padding.normal + readonly property int rounding: Appearance.rounding.large +} |