From 895c4e761721aabc88ca6783879925497b6ae309 Mon Sep 17 00:00:00 2001 From: figsoda Date: Fri, 30 Oct 2020 12:21:35 -0400 Subject: [PATCH] add example config file --- mmtc.ron | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 mmtc.ron diff --git a/mmtc.ron b/mmtc.ron new file mode 100644 index 0000000..fbb1016 --- /dev/null +++ b/mmtc.ron @@ -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, + ))), + ]), +)