diff options
Diffstat (limited to 'services')
| -rw-r--r-- | services/Wallpapers.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/services/Wallpapers.qml b/services/Wallpapers.qml index eea4cb4..5a84d8d 100644 --- a/services/Wallpapers.qml +++ b/services/Wallpapers.qml @@ -97,7 +97,7 @@ Singleton { id: getWallsProc running: true - command: ["find", Config.paths.wallpaperDir, "-type", "d", "-path", '*/.*', "-prune", "-o", "-not", "-name", '.*', "-type", "f", "-print"] + command: ["find", Paths.expandTilde(Config.paths.wallpaperDir), "-type", "d", "-path", '*/.*', "-prune", "-o", "-not", "-name", '.*', "-type", "f", "-print"] stdout: StdioCollector { onStreamFinished: wallpapers.model = text.trim().split("\n").filter(w => root.extensions.includes(w.slice(w.lastIndexOf(".") + 1))).sort() } @@ -107,7 +107,7 @@ Singleton { id: watchWallsProc running: true - command: ["inotifywait", "-r", "-e", "close_write,moved_to,create", "-m", Config.paths.wallpaperDir] + command: ["inotifywait", "-r", "-e", "close_write,moved_to,create", "-m", Paths.expandTilde(Config.paths.wallpaperDir)] stdout: SplitParser { onRead: data => { if (root.extensions.includes(data.slice(data.lastIndexOf(".") + 1))) |