From 8915808414da02e11ef7cb894e6a710ebdd7dc56 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sat, 28 Jun 2025 19:05:42 +1000 Subject: config: allow resolving paths from home --- modules/dashboard/dash/Media.qml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'modules/dashboard/dash') diff --git a/modules/dashboard/dash/Media.qml b/modules/dashboard/dash/Media.qml index 0567095..464f349 100644 --- a/modules/dashboard/dash/Media.qml +++ b/modules/dashboard/dash/Media.qml @@ -1,9 +1,7 @@ import "root:/widgets" import "root:/services" import "root:/config" -import Quickshell -import Quickshell.Io -import Quickshell.Widgets +import "root:/utils" import QtQuick import QtQuick.Shapes @@ -223,7 +221,7 @@ Item { playing: root.shouldUpdate && (Players.active?.isPlaying ?? false) speed: BeatDetector.bpm / 300 - source: Config.paths.mediaGif + source: Paths.expandTilde(Config.paths.mediaGif) asynchronous: true fillMode: AnimatedImage.PreserveAspectFit } -- cgit v1.2.3-freya