diff options
Diffstat (limited to 'src/services/wallpapers.ts')
| -rw-r--r-- | src/services/wallpapers.ts | 2 |
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", |