diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-28 19:05:42 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-28 19:05:42 +1000 |
| commit | 8915808414da02e11ef7cb894e6a710ebdd7dc56 (patch) | |
| tree | 7a5e9ec1b6908ef506f40919fdc95a9436a2587b /services | |
| parent | config: fix overwrite on startup (diff) | |
| download | caelestia-shell-8915808414da02e11ef7cb894e6a710ebdd7dc56.tar.gz caelestia-shell-8915808414da02e11ef7cb894e6a710ebdd7dc56.tar.bz2 caelestia-shell-8915808414da02e11ef7cb894e6a710ebdd7dc56.zip | |
config: allow resolving paths from home
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))) |