config: make gifs configurable
This commit is contained in:
parent
6455f6c719
commit
ae12e0d4f8
4 changed files with 5 additions and 3 deletions
|
|
@ -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"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ Column {
|
|||
playing: visible
|
||||
asynchronous: true
|
||||
speed: 0.7
|
||||
source: "root:/assets/kurukuru.gif"
|
||||
source: Config.paths.sessionGif
|
||||
}
|
||||
|
||||
SessionButton {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue