summaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
Diffstat (limited to 'services')
-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("."))
}
}