summaryrefslogtreecommitdiff
path: root/modules/launcher/ContentList.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-15 18:08:45 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-15 18:08:45 +1000
commit96429160c30ba5f6dcd25c8e6a181221195c41d8 (patch)
tree6f95bac8f3056abae67c04ae612b574ce1c37286 /modules/launcher/ContentList.qml
parentinternal: properly fix beat detector (diff)
downloadcaelestia-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/launcher/ContentList.qml')
-rw-r--r--modules/launcher/ContentList.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/launcher/ContentList.qml b/modules/launcher/ContentList.qml
index 9818118..ad116f7 100644
--- a/modules/launcher/ContentList.qml
+++ b/modules/launcher/ContentList.qml
@@ -15,7 +15,7 @@ Item {
required property int padding
required property int rounding
- property bool showWallpapers: search.text.startsWith(`${LauncherConfig.actionPrefix}wallpaper `)
+ property bool showWallpapers: search.text.startsWith(`${Config.launcher.actionPrefix}wallpaper `)
property var currentList: (showWallpapers ? wallpaperList : appList).item
anchors.horizontalCenter: parent.horizontalCenter
@@ -29,7 +29,7 @@ Item {
name: "apps"
PropertyChanges {
- root.implicitWidth: LauncherConfig.sizes.itemWidth
+ root.implicitWidth: Config.launcher.sizes.itemWidth
root.implicitHeight: Math.max(empty.height, appList.height)
appList.active: true
}
@@ -43,8 +43,8 @@ Item {
name: "wallpapers"
PropertyChanges {
- root.implicitWidth: Math.max(LauncherConfig.sizes.itemWidth, wallpaperList.width)
- root.implicitHeight: LauncherConfig.sizes.wallpaperHeight
+ root.implicitWidth: Math.max(Config.launcher.sizes.itemWidth, wallpaperList.width)
+ root.implicitHeight: Config.launcher.sizes.wallpaperHeight
wallpaperList.active: true
}
}