wallpapers: allow symlinked wallpaper directory (#399)
This commit is contained in:
parent
1665228cd9
commit
38506e6029
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ Searcher {
|
||||||
id: getWallsProc
|
id: getWallsProc
|
||||||
|
|
||||||
running: true
|
running: true
|
||||||
command: ["find", Paths.expandTilde(Config.paths.wallpaperDir), "-type", "d", "-path", '*/.*', "-prune", "-o", "-not", "-name", '.*', "-type", "f", "-print"]
|
command: ["find", "-L", Paths.expandTilde(Config.paths.wallpaperDir), "-type", "d", "-path", '*/.*', "-prune", "-o", "-not", "-name", '.*', "-type", "f", "-print"]
|
||||||
stdout: StdioCollector {
|
stdout: StdioCollector {
|
||||||
onStreamFinished: wallpapers.model = text.trim().split("\n").filter(w => Images.isValidImageByName(w)).sort()
|
onStreamFinished: wallpapers.model = text.trim().split("\n").filter(w => Images.isValidImageByName(w)).sort()
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue