mirror of
https://github.com/figsoda/mmtc
synced 2024-11-22 15:13:03 +00:00
update config file to use colors
This commit is contained in:
parent
0b950d8edd
commit
5cf23dad25
1 changed files with 20 additions and 9 deletions
29
mmtc.ron
29
mmtc.ron
|
@ -1,18 +1,29 @@
|
||||||
Config(
|
Config(
|
||||||
layout: Rows([
|
layout: Rows([
|
||||||
Fixed(1, Columns([
|
Fixed(1, Columns([
|
||||||
Ratio(5, Textbox(Text("Title"))),
|
Ratio(12, Textbox(Text("Title"))),
|
||||||
Ratio(4, Textbox(Text("Artist"))),
|
Ratio(10, Textbox(Text("Artist"))),
|
||||||
Ratio(4, Textbox(Text("Album"))),
|
Ratio(10, Textbox(Text("Album"))),
|
||||||
|
Ratio(1, Textbox(Text("Time"))),
|
||||||
])),
|
])),
|
||||||
Min(0, Queue(
|
Min(0, Queue(
|
||||||
columns: [
|
columns: [
|
||||||
Ratio(5, Parts([
|
Ratio(12, If(Selected,
|
||||||
If(Selected, Text("> ")),
|
Styled([Fg(Black), Bg(Indexed(117))], QueueTitle),
|
||||||
QueueTitle,
|
Styled([Fg(Indexed(117))], QueueTitle),
|
||||||
])),
|
)),
|
||||||
Ratio(4, QueueArtist),
|
Ratio(10, If(Selected,
|
||||||
Ratio(4, QueueAlbum),
|
Styled([Fg(Black), Bg(Indexed(111))], QueueArtist),
|
||||||
|
Styled([Fg(Indexed(111))], QueueArtist),
|
||||||
|
)),
|
||||||
|
Ratio(10, If(Selected,
|
||||||
|
Styled([Fg(Black), Bg(Indexed(105))], QueueTitle),
|
||||||
|
Styled([Fg(Indexed(105))], QueueTitle),
|
||||||
|
)),
|
||||||
|
Ratio(1, If(Selected,
|
||||||
|
Styled([Fg(Black), Bg(Indexed(177))], QueueDuration),
|
||||||
|
Styled([Fg(Indexed(177))], QueueDuration),
|
||||||
|
)),
|
||||||
],
|
],
|
||||||
)),
|
)),
|
||||||
Fixed(1, Textbox(If(Playing, Parts([
|
Fixed(1, Textbox(If(Playing, Parts([
|
||||||
|
|
Loading…
Reference in a new issue