#![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: "5", pane: Split( direction: Horizontal, panes: [ ( size: "100%", borders: "ALL", pane: Split( direction: Vertical, panes: [ ( size: "4", borders: "NONE", pane: Pane(Header), ), ( size: "1", borders: "NONE", pane: Pane(ProgressBar), ), ] ) ), ] ), ), ( size: "100%", pane: Split( direction: Horizontal, panes: [ ( size: "100%", borders: "NONE", pane: Pane(TabContent), ), ] ), ), ], ), 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)) ), ], )