From 9659130fdbf33b3428e3b5753f447ec61993e01c Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sat, 30 Aug 2025 22:30:34 +1000 Subject: wallpapers: use CAELESTIA_WALLPAPERS_DIR env Env var overrides config option --- utils/Paths.qml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'utils/Paths.qml') 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 { -- cgit v1.2.3-freya