diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-28 19:05:42 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-28 19:05:42 +1000 |
| commit | 8915808414da02e11ef7cb894e6a710ebdd7dc56 (patch) | |
| tree | 7a5e9ec1b6908ef506f40919fdc95a9436a2587b /modules/dashboard | |
| parent | config: fix overwrite on startup (diff) | |
| download | caelestia-shell-8915808414da02e11ef7cb894e6a710ebdd7dc56.tar.gz caelestia-shell-8915808414da02e11ef7cb894e6a710ebdd7dc56.tar.bz2 caelestia-shell-8915808414da02e11ef7cb894e6a710ebdd7dc56.zip | |
config: allow resolving paths from home
Diffstat (limited to 'modules/dashboard')
| -rw-r--r-- | modules/dashboard/Media.qml | 2 | ||||
| -rw-r--r-- | modules/dashboard/dash/Media.qml | 6 |
2 files changed, 3 insertions, 5 deletions
diff --git a/modules/dashboard/Media.qml b/modules/dashboard/Media.qml index 599b922..58e942b 100644 --- a/modules/dashboard/Media.qml +++ b/modules/dashboard/Media.qml @@ -525,7 +525,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 } 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 } |