mirror of
https://github.com/figsoda/mmtc
synced 2024-11-22 07:03:05 +00:00
37 lines
1 KiB
Text
37 lines
1 KiB
Text
Config(
|
|
layout: Rows([
|
|
Fixed(1, Columns([
|
|
Ratio(5, Textbox(Plain("Title"))),
|
|
Ratio(4, Textbox(Plain("Artist"))),
|
|
Ratio(4, Textbox(Plain("Album"))),
|
|
])),
|
|
Free(Queue(
|
|
columns: [
|
|
Ratio(5, QueueTitle),
|
|
Ratio(4, QueueArtist),
|
|
Ratio(4, QueueAlbum),
|
|
],
|
|
)),
|
|
Fixed(1, Textbox(If(Playing, Parts([
|
|
Plain("["),
|
|
CurrentElapsed,
|
|
Plain("/"),
|
|
CurrentDuration,
|
|
Plain("] "),
|
|
If(TitleExist,
|
|
Parts([
|
|
CurrentTitle,
|
|
If(ArtistExist, Parts([
|
|
Plain(" - "),
|
|
CurrentArtist,
|
|
If(AlbumExist, Parts([
|
|
Plain(" - "),
|
|
CurrentAlbum,
|
|
])),
|
|
])),
|
|
]),
|
|
CurrentFile,
|
|
)
|
|
])))),
|
|
]),
|
|
)
|