1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
|
#![enable(implicit_some)]
#![enable(unwrap_newtypes)]
#![enable(unwrap_variant_newtypes)]
(
default_album_art_path: None,
show_song_table_header: true,
draw_borders: true,
browser_column_widths: [20, 38, 42],
background_color: None,
modal_backdrop: true,
text_color: "#d3c6aa",
header_background_color: None,
modal_background_color: None,
preview_label_style: (fg: "#b48ead"),
preview_metadata_group_style: (fg: "#88c0d0"),
tab_bar: (
enabled: true,
active_style: (fg: "#2e3440", bg: "magenta", modifiers: "Bold"),
inactive_style: (fg: "#d3c6aa", bg: None, modifiers: ""),
),
highlighted_item_style: (fg: "yellow", modifiers: "Bold"),
current_item_style: (fg: "black", bg: "yellow", modifiers: "Bold"),
borders_style: (fg: "magenta", modifiers: "Bold"),
highlight_border_style: (fg: "magenta"),
symbols: (song: " ", dir: " ", playlist: " ", marker: "* ", ellipsis: "..."),
progress_bar: (
symbols: ["█", "█", "█", "█", "█"],
track_style: (fg: "dark_gray"),
elapsed_style: (fg: "magenta"),
thumb_style: (fg: "magenta"),
),
scrollbar: (
symbols: ["│", "█", "▲", "▼"],
track_style: (fg: "#a86c8a"),
ends_style: (fg: "magenta"),
thumb_style: (fg: "magenta"),
),
song_table_format: [
(
prop: (kind: Property(Artist), style: (fg: "magenta"),
default: (kind: Text("Unknown"), style: (fg: "#b48ead"))
),
width: "20%",
),
(
prop: (kind: Property(Title), style: (fg: "#d3c6aa"),
highlighted_item_style: (fg: "#d8dee9", modifiers: "Bold"),
default: (kind: Property(Filename), style: (fg: "#d8dee9"),)
),
width: "35%",
),
(
prop: (kind: Property(Album), style: (fg: "#a86c8a"),
default: (kind: Text("Unknown Album"), style: (fg: "#b48ead"))
),
width: "30%",
),
(
prop: (kind: Property(Duration), style: (fg: "magenta"),
default: (kind: Text("-"))
),
width: "15%",
alignment: Right,
),
],
layout: Split(
direction: Vertical,
panes: [
(
size: "3",
pane: Pane(Tabs),
),
(
size: "4",
pane: Split(
direction: Horizontal,
panes: [
(
size: "100%",
pane: Split(
direction: Vertical,
panes: [
(
size: "4",
borders: "ALL",
pane: Pane(Header),
),
]
)
),
]
),
),
(
size: "100%",
pane: Split(
direction: Horizontal,
panes: [
(
size: "100%",
borders: "NONE",
pane: Pane(TabContent),
),
]
),
),
(
size: "3",
borders: "TOP | BOTTOM",
pane: Pane(ProgressBar),
),
],
),
header: (
rows: [
(
left: [
(kind: Text(""), style: (fg: "magenta", modifiers: "Bold")),
(kind: Property(Status(StateV2(playing_label: " ", paused_label: " ", stopped_label: " ")))),
(kind: Text(" "), style: (fg: "magenta", modifiers: "Bold")),
(kind: Property(Widget(ScanStatus)))
],
center: [
(kind: Property(Song(Title)), style: (fg: "#d3c6aa",modifiers: "Bold"),
default: (kind: Property(Song(Filename)), style: (fg: "#d8dee9",modifiers: "Bold"))
)
],
right: [
(kind: Text(""), style: (fg: "magenta", modifiers: "Bold")),
(kind: Property(Status(Volume)), style: (fg: "#d3c6aa", modifiers: "Bold")),
(kind: Text("%"), style: (fg: "magenta", modifiers: "Bold"))
]
),
(
left: [
(kind: Text("[ "),style: (fg: "magenta", modifiers: "Bold")),
(kind: Property(Status(Elapsed)),style: (fg: "#d3c6aa")),
(kind: Text(" / "),style: (fg: "#a86c8a", modifiers: "Bold")),
(kind: Property(Status(Duration)),style: (fg: "#d3c6aa")),
(kind: Text(" | "),style: (fg: "#a86c8a")),
(kind: Property(Status(Bitrate)),style: (fg: "#d3c6aa")),
(kind: Text(" kbps"),style: (fg: "#a86c8a")),
(kind: Text("]"),style: (fg: "magenta", modifiers: "Bold"))
],
center: [
(kind: Property(Song(Artist)), style: (fg: "magenta", modifiers: "Bold"),
default: (kind: Text("Unknown Artist"), style: (fg: "#88c0d0", modifiers: "Bold"))
),
(kind: Text(" - ")),
(kind: Property(Song(Album)),style: (fg: "#a86c8a" ),
default: (kind: Text("Unknown Album"), style: (fg: "#81a1c1", modifiers: "Bold"))
)
],
right: [
(kind: Text("[ "),style: (fg: "magenta")),
(kind: Property(Status(RepeatV2(
on_label: "", off_label: "",
on_style: (fg: "#d3c6aa", modifiers: "Bold"), off_style: (fg: "dark_gray", modifiers: "Bold"))))),
(kind: Text(" | "),style: (fg: "magenta")),
(kind: Property(Status(RandomV2(
on_label: "", off_label: "",
on_style: (fg: "#d3c6aa", modifiers: "Bold"), off_style: (fg: "dark_gray", modifiers: "Bold"))))),
(kind: Text(" | "),style: (fg: "magenta")),
(kind: Property(Status(ConsumeV2(
on_label: "", off_label: "", oneshot_label: "",
on_style: (fg: "#d3c6aa", modifiers: "Bold"), off_style: (fg: "dark_gray", modifiers: "Bold"))))),
(kind: Text(" | "),style: (fg: "magenta")),
(kind: Property(Status(SingleV2(
on_label: "", off_label: "", oneshot_label: "", off_oneshot_label: "",
on_style: (fg: "#d3c6aa", modifiers: "Bold"), off_style: (fg: "dark_gray", modifiers: "Bold"))))),
(kind: Text(" ]"),style: (fg: "magenta")),
]
),
],
),
browser_song_format: [
(
kind: Group([
(kind: Property(Track)),
(kind: Text(" ")),
])
),
(
kind: Group([
(kind: Property(Artist)),
(kind: Text(" - ")),
(kind: Property(Title)),
]),
default: (kind: Property(Filename))
),
],
)
|