summaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-03 18:55:05 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-03 18:55:05 +1000
commit1de24676bb80ce633a026f336242d486b40dd3c8 (patch)
treedbaff0e2ecfae215c64ea422a44b68c6b40af6bf /services
parentplugin/fsm: incremental updates (diff)
downloadcaelestia-shell-1de24676bb80ce633a026f336242d486b40dd3c8.tar.gz
caelestia-shell-1de24676bb80ce633a026f336242d486b40dd3c8.tar.bz2
caelestia-shell-1de24676bb80ce633a026f336242d486b40dd3c8.zip
internal: refactor Paths util
Diffstat (limited to 'services')
-rw-r--r--services/Colours.qml2
-rw-r--r--services/Wallpapers.qml4
2 files changed, 3 insertions, 3 deletions
diff --git a/services/Colours.qml b/services/Colours.qml
index ca78abc..df0d4b6 100644
--- a/services/Colours.qml
+++ b/services/Colours.qml
@@ -79,7 +79,7 @@ Singleton {
}
FileView {
- path: `${Paths.stringify(Paths.state)}/scheme.json`
+ path: `${Paths.state}/scheme.json`
watchChanges: true
onFileChanged: reload()
onLoaded: root.load(text(), false)
diff --git a/services/Wallpapers.qml b/services/Wallpapers.qml
index 39cbfb8..209ce1b 100644
--- a/services/Wallpapers.qml
+++ b/services/Wallpapers.qml
@@ -10,7 +10,7 @@ import QtQuick
Searcher {
id: root
- readonly property string currentNamePath: Paths.strip(`${Paths.state}/wallpaper/path.txt`)
+ readonly property string currentNamePath: `${Paths.state}/wallpaper/path.txt`
readonly property list<string> smartArg: Config.services.smartScheme ? [] : ["--no-smart"]
property bool showPreview: false
@@ -74,7 +74,7 @@ Searcher {
id: wallpapers
recursive: true
- path: Paths.expandTilde(Paths.wallsdir)
+ path: Paths.wallsdir
filter: FileSystemModel.Images
}