summaryrefslogtreecommitdiff
path: root/src/config
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-04-05 14:26:26 +1100
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-04-05 14:26:26 +1100
commitf23192156866093a1d4a7f0a5e75dc0b27d0fc5d (patch)
tree5f5873e21db1cc9a9fc2e1e651853a1e229c89f3 /src/config
parentwallpapers: filter by size (diff)
downloadcaelestia-shell-f23192156866093a1d4a7f0a5e75dc0b27d0fc5d.tar.gz
caelestia-shell-f23192156866093a1d4a7f0a5e75dc0b27d0fc5d.tar.bz2
caelestia-shell-f23192156866093a1d4a7f0a5e75dc0b27d0fc5d.zip
launcher: optimise wallpaper selector
Optimise thumbnail size Also limit number shown Add show all when no search option
Diffstat (limited to 'src/config')
-rw-r--r--src/config/defaults.ts2
-rw-r--r--src/config/types.ts2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/config/defaults.ts b/src/config/defaults.ts
index 763ccc2..ac56c13 100644
--- a/src/config/defaults.ts
+++ b/src/config/defaults.ts
@@ -68,6 +68,8 @@ export default {
notify: true,
},
wallpaper: {
+ maxResults: 20, // Actual max results, -1 for infinite
+ showAllEmpty: true, // Show all wallpapers when search is empty
style: "medium", // One of "compact", "medium", "large"
},
disabledActions: ["logout", "shutdown", "reboot", "hibernate"], // Actions to hide, see launcher/actions.tsx for available actions
diff --git a/src/config/types.ts b/src/config/types.ts
index 0d875ce..a311f88 100644
--- a/src/config/types.ts
+++ b/src/config/types.ts
@@ -44,6 +44,8 @@ export default {
"launcher.files.shortenThreshold": NUM,
"launcher.math.maxResults": NUM,
"launcher.todo.notify": BOOL,
+ "launcher.wallpaper.maxResults": NUM,
+ "launcher.wallpaper.showAllEmpty": BOOL,
"launcher.wallpaper.style": ["compact", "medium", "large"],
"launcher.disabledActions": ARR(STR),
// Notif popups