diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-07-19 14:57:11 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-07-19 14:57:11 +1000 |
| commit | 1b6c19b131c74ba60764ce50cb8fa602ff9afdbd (patch) | |
| tree | 33b0bb30fd7ff61b530b569d9e6acef6cef75bd0 /services | |
| parent | config: add config for using fzf/fuzzy search (diff) | |
| download | caelestia-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')
| -rw-r--r-- | services/Wallpapers.qml | 3 |
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(".")) } } |