From 1de24676bb80ce633a026f336242d486b40dd3c8 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Wed, 3 Sep 2025 18:55:05 +1000 Subject: internal: refactor Paths util --- services/Colours.qml | 2 +- services/Wallpapers.qml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'services') 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 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 } -- cgit v1.2.3-freya