wallpapers: show subdirs in name
Also better search
This commit is contained in:
parent
0097c56e09
commit
1b6c19b131
1 changed files with 1 additions and 2 deletions
|
|
@ -40,7 +40,6 @@ Searcher {
|
||||||
reloadableId: "wallpapers"
|
reloadableId: "wallpapers"
|
||||||
|
|
||||||
list: wallpapers.instances
|
list: wallpapers.instances
|
||||||
key: "path"
|
|
||||||
useFuzzy: Config.launcher.useFuzzy.wallpapers
|
useFuzzy: Config.launcher.useFuzzy.wallpapers
|
||||||
extraOpts: useFuzzy ? ({}) : ({
|
extraOpts: useFuzzy ? ({}) : ({
|
||||||
forward: false
|
forward: false
|
||||||
|
|
@ -126,6 +125,6 @@ Searcher {
|
||||||
component Wallpaper: QtObject {
|
component Wallpaper: QtObject {
|
||||||
required property string modelData
|
required property string modelData
|
||||||
readonly property string path: 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("."))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue