diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-25 21:57:04 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-25 21:57:04 +1000 |
| commit | ae12e0d4f8261f16c99a09a54a70859db6bac34b (patch) | |
| tree | e109a6b45c85df97f90b5444649a5392697c003d | |
| parent | lock: fix rounding (diff) | |
| download | caelestia-shell-ae12e0d4f8261f16c99a09a54a70859db6bac34b.tar.gz caelestia-shell-ae12e0d4f8261f16c99a09a54a70859db6bac34b.tar.bz2 caelestia-shell-ae12e0d4f8261f16c99a09a54a70859db6bac34b.zip | |
config: make gifs configurable
| -rw-r--r-- | config/UserPaths.qml | 2 | ||||
| -rw-r--r-- | modules/dashboard/Media.qml | 2 | ||||
| -rw-r--r-- | modules/dashboard/dash/Media.qml | 2 | ||||
| -rw-r--r-- | modules/session/Content.qml | 2 |
4 files changed, 5 insertions, 3 deletions
diff --git a/config/UserPaths.qml b/config/UserPaths.qml index f530d9e..ee24a73 100644 --- a/config/UserPaths.qml +++ b/config/UserPaths.qml @@ -3,4 +3,6 @@ import Quickshell.Io JsonObject { property string wallpaperDir: Paths.strip(`${Paths.pictures}/Wallpapers`) + property string sessionGif: "root:/assets/kurukuru.gif" + property string mediaGif: "root:/assets/bongocat.gif" } diff --git a/modules/dashboard/Media.qml b/modules/dashboard/Media.qml index 04ad040..505ca33 100644 --- a/modules/dashboard/Media.qml +++ b/modules/dashboard/Media.qml @@ -524,7 +524,7 @@ Item { playing: root.shouldUpdate && (Players.active?.isPlaying ?? false) speed: BeatDetector.bpm / 300 - source: "root:/assets/bongocat.gif" + source: Config.paths.mediaGif asynchronous: true fillMode: AnimatedImage.PreserveAspectFit } diff --git a/modules/dashboard/dash/Media.qml b/modules/dashboard/dash/Media.qml index f47079d..5eaac99 100644 --- a/modules/dashboard/dash/Media.qml +++ b/modules/dashboard/dash/Media.qml @@ -222,7 +222,7 @@ Item { playing: root.shouldUpdate && (Players.active?.isPlaying ?? false) speed: BeatDetector.bpm / 300 - source: "root:/assets/bongocat.gif" + source: Config.paths.mediaGif asynchronous: true fillMode: AnimatedImage.PreserveAspectFit } diff --git a/modules/session/Content.qml b/modules/session/Content.qml index 40b7da2..fb8e3c6 100644 --- a/modules/session/Content.qml +++ b/modules/session/Content.qml @@ -60,7 +60,7 @@ Column { playing: visible asynchronous: true speed: 0.7 - source: "root:/assets/kurukuru.gif" + source: Config.paths.sessionGif } SessionButton { |