summaryrefslogtreecommitdiff
path: root/src/services
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-04-05 17:12:22 +1100
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-04-05 17:12:22 +1100
commit5774996a936e605d47a2ed064f14d050c7a25048 (patch)
tree0d315243430acb7afc52b3e09f28c7faa6a23a75 /src/services
parentconfig: notify on error (diff)
downloadcaelestia-shell-5774996a936e605d47a2ed064f14d050c7a25048.tar.gz
caelestia-shell-5774996a936e605d47a2ed064f14d050c7a25048.tar.bz2
caelestia-shell-5774996a936e605d47a2ed064f14d050c7a25048.zip
launcher: fix wallpaper categories
Diffstat (limited to 'src/services')
-rw-r--r--src/services/wallpapers.ts2
1 files changed, 1 insertions, 1 deletions
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",