summaryrefslogtreecommitdiff
path: root/services/Wallpapers.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-14 23:10:35 +1000
committerGitHub <noreply@github.com>2025-06-14 23:10:35 +1000
commit388a6217ed87a7d460ba72e980443789edd88b22 (patch)
treef86eb36dd9e604552b765c3dcc2382a5997cf3ed /services/Wallpapers.qml
parentdocs: add contributing.md (diff)
parentwallpapers: update valid wall extensions (diff)
downloadcaelestia-shell-388a6217ed87a7d460ba72e980443789edd88b22.tar.gz
caelestia-shell-388a6217ed87a7d460ba72e980443789edd88b22.tar.bz2
caelestia-shell-388a6217ed87a7d460ba72e980443789edd88b22.zip
internal: update for scripts overhaul (#45)
* colours: update for scheme refactor * notifs: match expand anim to container * wallpapers: update current path * wallpapers: update valid wall extensions
Diffstat (limited to 'services/Wallpapers.qml')
-rw-r--r--services/Wallpapers.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/Wallpapers.qml b/services/Wallpapers.qml
index 3f6bf15..44ca6a0 100644
--- a/services/Wallpapers.qml
+++ b/services/Wallpapers.qml
@@ -9,7 +9,7 @@ import QtQuick
Singleton {
id: root
- readonly property string currentNamePath: `${Paths.state}/wallpaper/last.txt`.slice(7)
+ readonly property string currentNamePath: `${Paths.state}/wallpaper/path.txt`.slice(7)
readonly property string path: `${Paths.pictures}/Wallpapers`.slice(7)
readonly property list<Wallpaper> list: wallpapers.instances
@@ -97,7 +97,7 @@ Singleton {
Process {
running: true
- command: ["fd", ".", root.path, "-t", "f", "-e", "jpg", "-e", "jpeg", "-e", "png", "-e", "svg"]
+ command: ["fd", ".", root.path, "-t", "f", "-e", "jpg", "-e", "jpeg", "-e", "png", "-e", "webp", "-e", "tif", "-e", "tiff"]
stdout: SplitParser {
splitMarker: ""
onRead: data => wallpapers.model = data.trim().split("\n")