diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-30 22:30:34 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-30 22:30:34 +1000 |
| commit | 9659130fdbf33b3428e3b5753f447ec61993e01c (patch) | |
| tree | 5a8129eb893eb01392f0922956984b3053759b54 /utils/Paths.qml | |
| parent | readme/install: explain different aur packages (diff) | |
| download | caelestia-shell-9659130fdbf33b3428e3b5753f447ec61993e01c.tar.gz caelestia-shell-9659130fdbf33b3428e3b5753f447ec61993e01c.tar.bz2 caelestia-shell-9659130fdbf33b3428e3b5753f447ec61993e01c.zip | |
wallpapers: use CAELESTIA_WALLPAPERS_DIR env
Env var overrides config option
Diffstat (limited to 'utils/Paths.qml')
| -rw-r--r-- | utils/Paths.qml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/Paths.qml b/utils/Paths.qml index 0a00c9d..6000486 100644 --- a/utils/Paths.qml +++ b/utils/Paths.qml @@ -1,5 +1,6 @@ pragma Singleton +import qs.config import Quickshell import Qt.labs.platform @@ -15,6 +16,7 @@ Singleton { readonly property url config: `${StandardPaths.standardLocations(StandardPaths.GenericConfigLocation)[0]}/caelestia` readonly property url imagecache: `${cache}/imagecache` + readonly property string wallsdir: Quickshell.env("CAELESTIA_WALLPAPERS_DIR") || Config.paths.wallpaperDir readonly property string libdir: Quickshell.env("CAELESTIA_LIB_DIR") || "/usr/lib/caelestia" function stringify(path: url): string { |