152 lines
5.1 KiB
Plaintext
152 lines
5.1 KiB
Plaintext
#![enable(implicit_some)]
|
|
#![enable(unwrap_newtypes)]
|
|
#![enable(unwrap_variant_newtypes)]
|
|
(
|
|
default_album_art_path: None,
|
|
show_song_table_header: false,
|
|
draw_borders: true,
|
|
browser_column_widths: [20, 38, 42],
|
|
text_color: "#16ff43",
|
|
tab_bar: (
|
|
enabled: true,
|
|
active_style: (fg: "#16ff43", modifiers: "Bold"),
|
|
inactive_style: (fg: "#16ff43", modifiers: ""),
|
|
),
|
|
highlighted_item_style: (fg: "#11cc35", modifiers: "Bold"),
|
|
current_item_style: (fg: "#11cc35", bg: "#08661a", modifiers: "Bold"),
|
|
borders_style: (fg: "#11cc35", modifiers: "Bold"),
|
|
highlight_border_style: (fg: "#11cc35"),
|
|
symbols: (song: " ", dir: " ", marker: "* ", ellipsis: "..."),
|
|
progress_bar: (
|
|
symbols: ["█", "█", "█"],
|
|
track_style: (fg: "#000000"),
|
|
elapsed_style: (fg: "#11cc35"),
|
|
thumb_style: (fg: "#08661a"),
|
|
),
|
|
scrollbar: (
|
|
symbols: ["", "", "", ""],
|
|
track_style: (fg: "#04330d"),
|
|
ends_style: (fg: "#08661a"),
|
|
thumb_style: (fg: "#08661a"),
|
|
),
|
|
song_table_format: [
|
|
(
|
|
prop: (kind: Property(Title), style: (fg: "#11cc35"),
|
|
highlighted_item_style: (fg: "#0fb22e", modifiers: "Bold"),
|
|
default: (kind: Property(Filename), style: (fg: "gray"),)
|
|
),
|
|
width: "70%",
|
|
),
|
|
(
|
|
prop: (kind: Property(Album), style: (fg: "#08661a"),
|
|
default: (kind: Text("Unknown Album"), style: (fg: "#13e53c"))
|
|
),
|
|
width: "30%",
|
|
),
|
|
],
|
|
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: Property(Status(StateV2(playing_label: " ", paused_label: "❚❚", stopped_label: "❚❚"))), style: (fg: "#11cc35", modifiers: "Bold")),
|
|
],
|
|
center: [
|
|
(kind: Property(Song(Title)), style: (fg: "#11cc35",modifiers: "Bold"),
|
|
default: (kind: Property(Song(Filename)), style: (fg: "#064c14",modifiers: "Bold"))
|
|
)
|
|
],
|
|
right: [
|
|
(kind: Text("Vol: "), style: (fg: "#11cc35", modifiers: "Bold")),
|
|
(kind: Property(Status(Volume)), style: (fg: "#11cc35", modifiers: "Bold")),
|
|
(kind: Text("% "), style: (fg: "#11cc35", modifiers: "Bold"))
|
|
]
|
|
),
|
|
(
|
|
left: [
|
|
(kind: Property(Status(Elapsed)),style: (fg: "#11cc35")),
|
|
(kind: Text("/"),style: (fg: "#0fb22e")),
|
|
(kind: Property(Status(Duration)),style: (fg: "#11cc35")),
|
|
],
|
|
center: [
|
|
(kind: Property(Song(Artist)), style: (fg: "#11cc35", modifiers: "Bold"),
|
|
default: (kind: Text("Unknown Artist"), style: (fg: "#ffffff", modifiers: "Bold"))
|
|
),
|
|
],
|
|
right: [
|
|
(
|
|
kind: Property(Widget(States(
|
|
active_style: (fg: "#11cc35", modifiers: "Bold"),
|
|
separator_style: (fg: "#11cc35")))
|
|
),
|
|
style: (fg: "#11cc35")
|
|
),
|
|
]
|
|
),
|
|
],
|
|
),
|
|
browser_song_format: [
|
|
(
|
|
kind: Group([
|
|
(kind: Property(Track)),
|
|
(kind: Text(" ")),
|
|
])
|
|
),
|
|
(
|
|
kind: Group([
|
|
(kind: Property(Artist)),
|
|
(kind: Text(" - ")),
|
|
(kind: Property(Title)),
|
|
]),
|
|
default: (kind: Property(Filename))
|
|
),
|
|
],
|
|
)
|