summaryrefslogtreecommitdiff
path: root/services/Wallpapers.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-07-19 14:57:11 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-07-19 14:57:11 +1000
commit1b6c19b131c74ba60764ce50cb8fa602ff9afdbd (patch)
tree33b0bb30fd7ff61b530b569d9e6acef6cef75bd0 /services/Wallpapers.qml
parentconfig: add config for using fzf/fuzzy search (diff)
downloadcaelestia-shell-1b6c19b131c74ba60764ce50cb8fa602ff9afdbd.tar.gz
caelestia-shell-1b6c19b131c74ba60764ce50cb8fa602ff9afdbd.tar.bz2
caelestia-shell-1b6c19b131c74ba60764ce50cb8fa602ff9afdbd.zip
wallpapers: show subdirs in name
Also better search
Diffstat (limited to 'services/Wallpapers.qml')
-rw-r--r--services/Wallpapers.qml3
1 files changed, 1 insertions, 2 deletions
diff --git a/services/Wallpapers.qml b/services/Wallpapers.qml
index b9c408a..d72423b 100644
--- a/services/Wallpapers.qml
+++ b/services/Wallpapers.qml
@@ -40,7 +40,6 @@ Searcher {
reloadableId: "wallpapers"
list: wallpapers.instances
- key: "path"
useFuzzy: Config.launcher.useFuzzy.wallpapers
extraOpts: useFuzzy ? ({}) : ({
forward: false
@@ -126,6 +125,6 @@ Searcher {
component Wallpaper: QtObject {
required property string modelData
readonly property string path: modelData
- readonly property string name: path.slice(path.lastIndexOf("/") + 1, path.lastIndexOf("."))
+ readonly property string name: path.slice(Paths.expandTilde(Config.paths.wallpaperDir).length + 1, path.lastIndexOf("."))
}
}