From 96429160c30ba5f6dcd25c8e6a181221195c41d8 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sun, 15 Jun 2025 18:08:45 +1000 Subject: feat: user config file Config file at `~/.config/caelestia/shell.json` --- modules/launcher/ContentList.qml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/launcher/ContentList.qml') 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 } } -- cgit v1.2.3-freya