diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-15 18:08:45 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-15 18:08:45 +1000 |
| commit | 96429160c30ba5f6dcd25c8e6a181221195c41d8 (patch) | |
| tree | 6f95bac8f3056abae67c04ae612b574ce1c37286 /modules/session | |
| parent | internal: properly fix beat detector (diff) | |
| download | caelestia-shell-96429160c30ba5f6dcd25c8e6a181221195c41d8.tar.gz caelestia-shell-96429160c30ba5f6dcd25c8e6a181221195c41d8.tar.bz2 caelestia-shell-96429160c30ba5f6dcd25c8e6a181221195c41d8.zip | |
feat: user config file
Config file at `~/.config/caelestia/shell.json`
Diffstat (limited to '')
| -rw-r--r-- | modules/session/Background.qml | 4 | ||||
| -rw-r--r-- | modules/session/Content.qml | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/modules/session/Background.qml b/modules/session/Background.qml index 551637b..12cce6a 100644 --- a/modules/session/Background.qml +++ b/modules/session/Background.qml @@ -7,12 +7,12 @@ ShapePath { id: root required property Wrapper wrapper - readonly property real rounding: BorderConfig.rounding + readonly property real rounding: Config.border.rounding readonly property bool flatten: wrapper.width < rounding * 2 readonly property real roundingX: flatten ? wrapper.width / 2 : rounding strokeWidth: -1 - fillColor: BorderConfig.colour + fillColor: Config.border.colour PathArc { relativeX: -root.roundingX diff --git a/modules/session/Content.qml b/modules/session/Content.qml index 7c69bbd..f6b1258 100644 --- a/modules/session/Content.qml +++ b/modules/session/Content.qml @@ -48,8 +48,8 @@ Column { } AnimatedImage { - width: SessionConfig.sizes.button - height: SessionConfig.sizes.button + width: Config.session.sizes.button + height: Config.session.sizes.button sourceSize.width: width sourceSize.height: height @@ -84,8 +84,8 @@ Column { required property string icon required property list<string> command - implicitWidth: SessionConfig.sizes.button - implicitHeight: SessionConfig.sizes.button + implicitWidth: Config.session.sizes.button + implicitHeight: Config.session.sizes.button radius: Appearance.rounding.large color: button.activeFocus ? Colours.palette.m3secondaryContainer : Colours.palette.m3surfaceContainer |