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 | |
| 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')
| -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 | ||||
| -rw-r--r-- | modules/lock/Center.qml | 2 | ||||
| -rw-r--r-- | modules/session/Content.qml | 2 |
5 files changed, 5 insertions, 5 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 { diff --git a/modules/lock/Center.qml b/modules/lock/Center.qml index b76b7f4..ce5db92 100644 --- a/modules/lock/Center.qml +++ b/modules/lock/Center.qml @@ -105,7 +105,7 @@ ColumnLayout { id: pfp anchors.fill: parent - path: `${Paths.stringify(Paths.home)}/.face` + path: `${Paths.home}/.face` } } diff --git a/modules/session/Content.qml b/modules/session/Content.qml index ca6bf17..41ecb3b 100644 --- a/modules/session/Content.qml +++ b/modules/session/Content.qml @@ -61,7 +61,7 @@ Column { playing: visible asynchronous: true speed: 0.7 - source: Paths.expandTilde(Config.paths.sessionGif) + source: Paths.absolutePath(Config.paths.sessionGif) } SessionButton { |