summaryrefslogtreecommitdiff
path: root/services/Thumbnailer.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-24 16:31:23 +0800
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-24 16:31:23 +0800
commita0cc31ff581fb33c679b2016d2d00d4d86cb7031 (patch)
tree365854d14605e569e32228b1a2a6d6225c4e38bd /services/Thumbnailer.qml
parenticons: better matching + add category icon (diff)
downloadcaelestia-shell-a0cc31ff581fb33c679b2016d2d00d4d86cb7031.tar.gz
caelestia-shell-a0cc31ff581fb33c679b2016d2d00d4d86cb7031.tar.bz2
caelestia-shell-a0cc31ff581fb33c679b2016d2d00d4d86cb7031.zip
refactor: path utils
Diffstat (limited to 'services/Thumbnailer.qml')
-rw-r--r--services/Thumbnailer.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/Thumbnailer.qml b/services/Thumbnailer.qml
index 3d7a6c1..6a6066c 100644
--- a/services/Thumbnailer.qml
+++ b/services/Thumbnailer.qml
@@ -1,15 +1,15 @@
pragma Singleton
pragma ComponentBehavior: Bound
+import "root:/utils"
import Quickshell
import Quickshell.Io
import QtQuick
-import Qt.labs.platform
Singleton {
id: root
- readonly property string thumbDir: `${StandardPaths.standardLocations(StandardPaths.GenericCacheLocation)[0]}/caelestia/thumbnails`.slice(7)
+ readonly property string thumbDir: `${Paths.cache}/thumbnails`.slice(7)
function go(obj: var): var {
return thumbComp.createObject(obj, {