launcher: fix wallpaper categories
This commit is contained in:
parent
5ed190b06d
commit
5774996a93
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ export default class Wallpapers extends GObject.Object {
|
||||||
const maxDepth = path.recursive ? "" : "-maxdepth 1";
|
const maxDepth = path.recursive ? "" : "-maxdepth 1";
|
||||||
const files = await execAsync(`find ${absPath} ${maxDepth} -path '*/.*' -prune -o -type ${type} -print`);
|
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 = (
|
const data = (
|
||||||
await execAsync([
|
await execAsync([
|
||||||
"fish",
|
"fish",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue