From 9c1cc00965170b85146ddcdaff9eeb522e1a8d48 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sat, 1 Mar 2025 22:01:55 +1100 Subject: launcher: wallpaper action --- config.ts | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) (limited to 'config.ts') diff --git a/config.ts b/config.ts index ce4b262..142833b 100644 --- a/config.ts +++ b/config.ts @@ -121,6 +121,9 @@ const DEFAULTS = { todo: { notify: true, }, + wallpaper: { + style: "compact", // One of "compact", "medium", "large" + }, }, notifpopups: { maxPopups: -1, @@ -190,8 +193,30 @@ const DEFAULTS = { storage: { interval: 5000, }, + wallpapers: { + paths: [ + { + recursive: true, // Whether to search recursively + path: "~/Pictures/Wallpapers", // Path to search + }, + ], + }, }; const config = convertSettings(DEFAULTS); -export const { bar, launcher, notifpopups, osds, sideleft, math, updates, weather, cpu, gpu, memory, storage } = config; +export const { + bar, + launcher, + notifpopups, + osds, + sideleft, + math, + updates, + weather, + cpu, + gpu, + memory, + storage, + wallpapers, +} = config; -- cgit v1.2.3-freya