diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-03 18:55:05 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-03 18:55:05 +1000 |
| commit | 1de24676bb80ce633a026f336242d486b40dd3c8 (patch) | |
| tree | dbaff0e2ecfae215c64ea422a44b68c6b40af6bf /modules/dashboard | |
| parent | plugin/fsm: incremental updates (diff) | |
| download | caelestia-shell-1de24676bb80ce633a026f336242d486b40dd3c8.tar.gz caelestia-shell-1de24676bb80ce633a026f336242d486b40dd3c8.tar.bz2 caelestia-shell-1de24676bb80ce633a026f336242d486b40dd3c8.zip | |
internal: refactor Paths util
Diffstat (limited to 'modules/dashboard')
| -rw-r--r-- | modules/dashboard/Media.qml | 2 | ||||
| -rw-r--r-- | modules/dashboard/dash/Media.qml | 2 | ||||
| -rw-r--r-- | modules/dashboard/dash/User.qml | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/modules/dashboard/Media.qml b/modules/dashboard/Media.qml index 5817d3e..937e07e 100644 --- a/modules/dashboard/Media.qml +++ b/modules/dashboard/Media.qml @@ -526,7 +526,7 @@ Item { playing: Players.active?.isPlaying ?? false speed: BeatDetector.bpm / 300 - source: Paths.expandTilde(Config.paths.mediaGif) + source: Paths.absolutePath(Config.paths.mediaGif) asynchronous: true fillMode: AnimatedImage.PreserveAspectFit } diff --git a/modules/dashboard/dash/Media.qml b/modules/dashboard/dash/Media.qml index eda44d5..7cb9e3e 100644 --- a/modules/dashboard/dash/Media.qml +++ b/modules/dashboard/dash/Media.qml @@ -209,7 +209,7 @@ Item { playing: Players.active?.isPlaying ?? false speed: BeatDetector.bpm / 300 - source: Paths.expandTilde(Config.paths.mediaGif) + source: Paths.absolutePath(Config.paths.mediaGif) asynchronous: true fillMode: AnimatedImage.PreserveAspectFit } diff --git a/modules/dashboard/dash/User.qml b/modules/dashboard/dash/User.qml index 2576e3e..db12d01 100644 --- a/modules/dashboard/dash/User.qml +++ b/modules/dashboard/dash/User.qml @@ -36,7 +36,7 @@ Row { id: pfp anchors.fill: parent - path: `${Paths.stringify(Paths.home)}/.face` + path: `${Paths.home}/.face` } MouseArea { |