diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-19 19:44:40 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-19 19:44:40 +1000 |
| commit | 65b4b1a050b0fb8e52bb66ae6836bbc1b7706473 (patch) | |
| tree | 85ef258ecd35b18bab65f1c7b93a9af4714def66 /config | |
| parent | session: fix logout button (diff) | |
| download | caelestia-shell-65b4b1a050b0fb8e52bb66ae6836bbc1b7706473.tar.gz caelestia-shell-65b4b1a050b0fb8e52bb66ae6836bbc1b7706473.tar.bz2 caelestia-shell-65b4b1a050b0fb8e52bb66ae6836bbc1b7706473.zip | |
internal: make wallpaper dir configurable
Diffstat (limited to 'config')
| -rw-r--r-- | config/Config.qml | 2 | ||||
| -rw-r--r-- | config/UserPaths.qml | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/config/Config.qml b/config/Config.qml index 2e1e48b..e7da4bd 100644 --- a/config/Config.qml +++ b/config/Config.qml @@ -14,6 +14,7 @@ Singleton { property alias notifs: adapter.notifs property alias osd: adapter.osd property alias session: adapter.session + property alias paths: adapter.paths FileView { path: `${Paths.config}/shell.json` @@ -31,6 +32,7 @@ Singleton { property JsonObject notifs: NotifsConfig {} property JsonObject osd: OsdConfig {} property JsonObject session: SessionConfig {} + property JsonObject paths: UserPaths {} } } } diff --git a/config/UserPaths.qml b/config/UserPaths.qml new file mode 100644 index 0000000..f530d9e --- /dev/null +++ b/config/UserPaths.qml @@ -0,0 +1,6 @@ +import "root:/utils" +import Quickshell.Io + +JsonObject { + property string wallpaperDir: Paths.strip(`${Paths.pictures}/Wallpapers`) +} |