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/dashboard/Performance.qml | |
| 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 'modules/dashboard/Performance.qml')
| -rw-r--r-- | modules/dashboard/Performance.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/dashboard/Performance.qml b/modules/dashboard/Performance.qml index 8513d19..b7bf8d0 100644 --- a/modules/dashboard/Performance.qml +++ b/modules/dashboard/Performance.qml @@ -65,7 +65,7 @@ Row { property bool primary readonly property real primaryMult: primary ? 1.2 : 1 - readonly property real thickness: DashboardConfig.sizes.resourceProgessThickness * primaryMult + readonly property real thickness: Config.dashboard.sizes.resourceProgessThickness * primaryMult property color fg1: Colours.palette.m3primary property color fg2: Colours.palette.m3secondary @@ -74,8 +74,8 @@ Row { anchors.verticalCenter: parent.verticalCenter - implicitWidth: DashboardConfig.sizes.resourceSize * primaryMult - implicitHeight: DashboardConfig.sizes.resourceSize * primaryMult + implicitWidth: Config.dashboard.sizes.resourceSize * primaryMult + implicitHeight: Config.dashboard.sizes.resourceSize * primaryMult onValue1Changed: canvas.requestPaint() onValue2Changed: canvas.requestPaint() |