187 lines
6.5 KiB
Plaintext
187 lines
6.5 KiB
Plaintext
#![enable(implicit_some)]
|
|
#![enable(unwrap_newtypes)]
|
|
#![enable(unwrap_variant_newtypes)]
|
|
(
|
|
default_album_art_path: "/home/greg/Pictures/Fetch/atheism_paint.png",
|
|
show_song_table_header: true,
|
|
draw_borders: true,
|
|
format_tag_separator: " | ",
|
|
browser_column_widths: [20, 38, 42],
|
|
background_color: None,
|
|
text_color: None,
|
|
header_background_color: None,
|
|
modal_background_color: None,
|
|
modal_backdrop: false,
|
|
preview_label_style: (fg: "yellow"),
|
|
preview_metadata_group_style: (fg: "yellow", modifiers: "Bold"),
|
|
tab_bar: (
|
|
enabled: true,
|
|
active_style: (fg: "black", bg: "blue", modifiers: "Bold"),
|
|
inactive_style: (),
|
|
),
|
|
highlighted_item_style: (fg: "blue", modifiers: "Bold"),
|
|
current_item_style: (fg: "white", bg: "blue", modifiers: "Bold"),
|
|
borders_style: (fg: "yellow"),
|
|
highlight_border_style: (fg: "blue"),
|
|
symbols: (
|
|
song: "",
|
|
dir: "",
|
|
playlist: "",
|
|
marker: "",
|
|
ellipsis: "...",
|
|
song_style: (fg: "white", modifiers: None),
|
|
dir_style: (fg: "yellow"),
|
|
playlist_style: (fg: "magenta"),
|
|
),
|
|
level_styles: (
|
|
info: (fg: "blue", bg: "black"),
|
|
warn: (fg: "yellow", bg: "black"),
|
|
error: (fg: "red", bg: "black"),
|
|
debug: (fg: "light_green", bg: "black"),
|
|
trace: (fg: "magenta", bg: "black"),
|
|
),
|
|
progress_bar: (
|
|
symbols: ["🬋", " ", "⠔"],
|
|
track_style: (),
|
|
elapsed_style: (fg: "blue"),
|
|
thumb_style: (fg: "blue"),
|
|
),
|
|
scrollbar: (
|
|
symbols: ["│", "█", "▲", "▼"],
|
|
track_style: (fg: "black"),
|
|
ends_style: (fg: "black"),
|
|
thumb_style: (fg: "magenta"),
|
|
),
|
|
song_table_format: [
|
|
(
|
|
prop: (kind: Property(Artist),
|
|
default: (kind: Text("<empty>"), style: (fg: "yellow")),
|
|
style: (fg: "yellow"),
|
|
),
|
|
width: "25%",
|
|
),
|
|
(
|
|
prop: (kind: Property(Title),
|
|
default: (kind: Property(Filename), style: (fg: "white")),
|
|
style: (fg: "white"),
|
|
),
|
|
width: "70%",
|
|
),
|
|
(
|
|
label: "Time",
|
|
prop: (kind: Property(Duration),
|
|
default: (kind: Text("-")),
|
|
style: (fg: "magenta"),
|
|
),
|
|
width: "5%",
|
|
alignment: Right,
|
|
),
|
|
],
|
|
components: {},
|
|
layout: Split(
|
|
direction: Vertical,
|
|
panes: [
|
|
(
|
|
size: "3",
|
|
pane: Split(
|
|
direction: Horizontal,
|
|
panes: [
|
|
(
|
|
size: "7",
|
|
pane: Pane(AlbumArt),
|
|
),
|
|
(
|
|
size: "99%",
|
|
pane: Split(
|
|
direction: Vertical,
|
|
panes: [
|
|
(
|
|
size: "5",
|
|
pane: Pane(Header),
|
|
),
|
|
(
|
|
size: "1",
|
|
pane: Pane(ProgressBar),
|
|
),
|
|
]
|
|
)
|
|
),
|
|
]
|
|
),
|
|
),
|
|
(
|
|
size: "100%",
|
|
pane: Pane(TabContent),
|
|
),
|
|
],
|
|
),
|
|
header: (
|
|
rows: [
|
|
(
|
|
left: [
|
|
(kind: Property(Status(StateV2(playing_label: " Playing", paused_label: " Paused", stopped_label: " Stopped"))), style: (fg: "yellow", modifiers: "Bold")),
|
|
],
|
|
center: [
|
|
(kind: Property(Song(Title)), style: (modifiers: "Bold"),
|
|
default: (kind: Property(Song(Filename)), style: (modifiers: "Bold"))
|
|
)
|
|
],
|
|
right: [
|
|
(kind: Property(Widget(ScanStatus)), style: (fg: "blue")),
|
|
(kind: Property(Widget(Volume)), style: (fg: "blue"))
|
|
]
|
|
),
|
|
(
|
|
left: [
|
|
(kind: Property(Status(Elapsed))),
|
|
(kind: Text(" / ")),
|
|
(kind: Property(Status(Duration))),
|
|
],
|
|
center: [
|
|
(kind: Property(Song(Artist)), style: (fg: "yellow", modifiers: "Bold"),
|
|
default: (kind: Text(""), style: (fg: "yellow", modifiers: "Bold"))
|
|
),
|
|
],
|
|
right: [
|
|
(kind: Text("[ ")),
|
|
(kind: Property(Status(RepeatV2(
|
|
on_label: "", off_label: "",
|
|
on_style: (fg: "blue", modifiers: "Bold"), off_style: (fg: "yellow", modifiers: "Bold"))))),
|
|
(kind: Text(" | ")),
|
|
(kind: Property(Status(RandomV2(
|
|
on_label: "", off_label: "",
|
|
on_style: (fg: "blue", modifiers: "Bold"), off_style: (fg: "yellow", modifiers: "Bold"))))),
|
|
(kind: Text(" | ")),
|
|
(kind: Property(Status(ConsumeV2(
|
|
on_label: "", off_label: "", oneshot_label: "",
|
|
on_style: (fg: "blue", modifiers: "Bold"), off_style: (fg: "yellow", modifiers: "Bold"))))),
|
|
(kind: Text(" | ")),
|
|
(kind: Property(Status(SingleV2(
|
|
on_label: "", off_label: "",
|
|
on_style: (fg: "blue", modifiers: "Bold"), off_style: (fg: "yellow", modifiers: "Bold"))))),
|
|
(kind: Text(" ]")),
|
|
]
|
|
),
|
|
],
|
|
),
|
|
browser_song_format: [
|
|
(
|
|
kind: Group([
|
|
(kind: Property(Track)),
|
|
(kind: Text(" ")),
|
|
])
|
|
),
|
|
(
|
|
kind: Group([
|
|
(kind: Property(Artist)),
|
|
(kind: Text(" - ")),
|
|
(kind: Property(Title)),
|
|
]),
|
|
default: (kind: Property(Filename))
|
|
),
|
|
],
|
|
lyrics: (
|
|
timestamp: false
|
|
)
|
|
)
|