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/drawers/Panels.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/drawers/Panels.qml')
| -rw-r--r-- | modules/drawers/Panels.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/drawers/Panels.qml b/modules/drawers/Panels.qml index 6c6d892..a422fcc 100644 --- a/modules/drawers/Panels.qml +++ b/modules/drawers/Panels.qml @@ -24,7 +24,7 @@ Item { readonly property BarPopouts.Wrapper popouts: popouts anchors.fill: parent - anchors.margins: BorderConfig.thickness + anchors.margins: Config.border.thickness anchors.leftMargin: bar.implicitWidth Component.onCompleted: Visibilities.panels[screen] = this @@ -83,7 +83,7 @@ Item { anchors.left: parent.left anchors.verticalCenter: parent.top anchors.verticalCenterOffset: { - const off = root.popouts.currentCenter - BorderConfig.thickness; + const off = root.popouts.currentCenter - Config.border.thickness; const diff = root.height - Math.floor(off + implicitHeight / 2); if (diff < 0) return off + diff; |