mirror of
https://github.com/figsoda/mmtc
synced 2024-11-21 22:53:02 +00:00
add example config file
This commit is contained in:
parent
cd57e56a94
commit
895c4e7617
1 changed files with 30 additions and 0 deletions
30
mmtc.ron
Normal file
30
mmtc.ron
Normal file
|
@ -0,0 +1,30 @@
|
|||
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(TitleExist,
|
||||
Parts([
|
||||
CurrentTitle,
|
||||
If(ArtistExist, Parts([
|
||||
Plain(" - "),
|
||||
CurrentArtist,
|
||||
If(AlbumExist, Parts([
|
||||
Plain(" - "),
|
||||
CurrentAlbum,
|
||||
])),
|
||||
])),
|
||||
]),
|
||||
CurrentFile,
|
||||
))),
|
||||
]),
|
||||
)
|
Loading…
Reference in a new issue