From 5774996a936e605d47a2ed064f14d050c7a25048 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sat, 5 Apr 2025 17:12:22 +1100 Subject: launcher: fix wallpaper categories --- src/services/wallpapers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/services') diff --git a/src/services/wallpapers.ts b/src/services/wallpapers.ts index 2dfc8aa..b5447c2 100644 --- a/src/services/wallpapers.ts +++ b/src/services/wallpapers.ts @@ -45,7 +45,7 @@ export default class Wallpapers extends GObject.Object { const maxDepth = path.recursive ? "" : "-maxdepth 1"; const files = await execAsync(`find ${absPath} ${maxDepth} -path '*/.*' -prune -o -type ${type} -print`); - if (path.threshold > 0) { + if (type === "f" && path.threshold > 0) { const data = ( await execAsync([ "fish", -- cgit v1.2.3-freya