#![enable(implicit_some)] #![enable(unwrap_newtypes)] #![enable(unwrap_variant_newtypes)] ( default_album_art_path: None, format_tag_separator: " | ", browser_column_widths: [0,30,70], background_color: None, text_color: None, header_background_color: None, modal_background_color: None, modal_backdrop: false, preview_label_style: (fg: "#b4befe"), preview_metadata_group_style: (fg: "#b4befe", modifiers: "Bold"), highlighted_item_style: (fg: "#89dceb", modifiers: "Bold"), current_item_style: (fg: "#11111b", bg: "#b4befe", modifiers: "Bold"), borders_style: (fg: "#b4befe"), highlight_border_style: (fg: "#b4befe"), symbols: ( song: "S", dir: "D", playlist: "P", marker: "M", ellipsis: "...", song_style: (fg: "#89b4fa"), dir_style: (fg: "#a6e3a1"), playlist_style: (fg: "#cba6f7"), ), 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: (fg: "#313244"), elapsed_style: (fg: "#74c7ec"), thumb_style: (fg: "#89b4fa"), use_track_when_empty: true, ), scrollbar: ( symbols: ["│", "█", "", ""], track_style: (), ends_style: (), thumb_style: (fg: "#b4befe"), ), tab_bar: ( active_style: (fg: "#181825", bg: "#94e2d5"), inactive_style: (fg: "#cdd6f4", bg: "#1e1e2e"),), lyrics: ( timestamp: false ), browser_song_format: [ ( kind: Group([ (kind: Property(Track)), (kind: Text(" ")), ]) ), ( kind: Group([ (kind: Property(Artist)), (kind: Text(" - ")), (kind: Property(Title)), ]), default: (kind: Property(Filename)) ), ], song_table_format: [ ( prop: (kind: Property(Artist), style: (fg: "#cdd6f4"), default: (kind: Text("unknown"), style: (fg: "#cdd6f4")) ), label_prop: (kind: Text("artist"), style: (fg: "#74c7ec", modifiers: "Bold")), width: "20%", ), ( prop: (kind: Property(Title), style: (fg: "#cdd6f4"), default: (kind: Text("unknown"), style: (fg: "#cdd6f4")) ), label_prop: (kind: Text("title"), style: (fg: "#a6e3a1", modifiers: "Bold")), width: "35%", ), ( prop: (kind: Property(Album), style: (fg: "#bac2de"), default: (kind: Text("unknown"), style: (fg: "#bac2de")) ), label_prop: (kind: Text("album"), style: (fg: "#fab387", modifiers: "Bold")), width: "35%", ), ( prop: (kind: Property(Duration), style: (fg: "#a6adc8"), default: (kind: Text("-"), style: (fg: "#a6adc8")) ), label_prop: (kind: Text("duration"), style: (fg: "#cba6f7", modifiers: "Bold")), width: "10%", alignment: Right, ), ], layout: Split( direction: Vertical, panes: [ ( size: "1", pane: Split( direction: Horizontal, panes: [ ( pane: Pane(Tabs), size: "70" ), ( pane: Pane(Empty()), size: "100%" ), ], ), ), ( pane: Pane(TabContent), size: "100%", ), ( size: "1", pane: Split( direction: Horizontal, panes: [ ( size: "8", pane: Component("input_mode") ), ( size: "100%", pane: Component("progress_bar"), ), ( size: "20", pane: Component("volume_and_state"), ) ] ), ), ], ), components: { "volume_and_state": Split( direction: Horizontal, panes: [ (size: "100%", pane: Component("volume")), (size: "7", pane: Component("states")), ] ), "column1": Split( direction: Vertical, panes: [ (size: "1", pane: Component("state")), (size: "1", pane: Component("artist")), (size: "1", pane: Component("album")), (size: "1", pane: Component("track")), (size: "1", pane: Component("title")), (size: "1", pane: Component("date")), (size: "1", pane: Component("elapsed")), (size: "1", pane: Component("bitrate")), ] ), "state": Pane(Property( content: [ (kind: Text("state: "), style: (fg: "#94e2d5", modifiers: "Bold")), (kind: Property(Status(StateV2( ))), style: (fg: "#bac2de")), ], align: Left, scroll_speed: 1 )), "artist": Pane(Property( content: [ (kind: Text("artist: "), style: (fg: "#94e2d5", modifiers: "Bold")), (kind: Property(Song(Artist)), style: (fg: "#bac2de"), default: (kind: Text("unknown"), style: (fg: "#bac2de"))), ], align: Left, scroll_speed: 1 )), "album": Pane(Property( content: [ (kind: Text("album: "), style: (fg: "#94e2d5", modifiers: "Bold")), (kind: Property(Song(Album)), style: (fg: "#bac2de"), default: (kind: Text("unknown"), style: (fg: "#bac2de"))), ], align: Left, scroll_speed: 1 )), "track": Pane(Property( content: [ (kind: Text("track: "), style: (fg: "#94e2d5", modifiers: "Bold")), (kind: Property(Song(Track)), style: (fg: "#bac2de"), default: (kind: Text("unknown"), style: (fg: "#bac2de"))), ], align: Left, scroll_speed: 1 )), "title": Pane(Property( content: [ (kind: Text("title: "), style: (fg: "#94e2d5", modifiers: "Bold")), (kind: Property(Song(Title)), style: (fg: "#bac2de"), default: (kind: Text("unknown"), style: (fg: "#bac2de"))), ], align: Left, scroll_speed: 1 )), "date": Pane(Property( content: [ (kind: Text("date: "), style: (fg: "#94e2d5", modifiers: "Bold")), (kind: Property(Song(Other("date"))), style: (fg: "#bac2de"), default: (kind: Text("unknown"), style: (fg: "#bac2de"))), ], align: Left, scroll_speed: 1 )), "elapsed": Pane(Property( content: [ (kind: Text("elapsed: "), style: (fg: "#94e2d5", modifiers: "Bold")), (kind: Property(Status(Elapsed)), style: (fg: "#bac2de")), (kind: Text(" / ")), (kind: Property(Status(Duration)), style: (fg: "#bac2de")), ], align: Left, scroll_speed: 1 )), "bitrate": Pane(Property( content: [ (kind: Text("bitrate: "), style: (fg: "#94e2d5", modifiers: "Bold")), (kind: Property(Status(Bitrate)), style: (fg: "#bac2de")), (kind: Text(" kbps"), style: (fg: "#bac2de")), ], align: Left, scroll_speed: 1 )), "volume": Split( direction: Horizontal, panes: [ (size: "100%", pane: Pane(Volume(kind: Slider( symbols: (filled: "█", thumb: "█", track: "█"), filled_style: (fg: "#f5e0dc"), track_style: (fg: "#313244"), thumb_style: (fg: "#f2cdcd"), )))), ], align: Right ), "states": Split( direction: Horizontal, panes: [ ( size: "1", pane: Pane(Empty()) ), ( size: "100%", pane: Pane(Property(content: [(kind: Property(Status(InputBuffer())), style: (fg: "blue"), align: Right)])) ), ( size: "1", pane: Pane(Empty()) ), ( size: "6", pane: Pane(Property(content: [ (kind: Text(" "), style: (bg: "#313244")), (kind: Property(Status(RepeatV2( on_label: "z", off_label: "z", on_style: (fg: "#fab387", bg: "#313244", modifiers: "Bold"), off_style: (fg: "#cdd6f4", bg: "#313244"), )))), (kind: Property(Status(RandomV2( on_label: "x", off_label: "x", on_style: (fg: "#fab387", bg: "#313244", modifiers: "Bold"), off_style: (fg: "#cdd6f4", bg: "#313244"), )))), (kind: Property(Status(ConsumeV2( on_label: "c", off_label: "c", oneshot_label: "c", on_style: (fg: "#fab387", bg: "#313244", modifiers: "Bold"), off_style: (fg: "#cdd6f4", bg: "#313244"), oneshot_style: (fg: "#f38ba8", bg: "#313244", modifiers: "Bold"), )))), (kind: Property(Status(SingleV2( on_label: "v", off_label: "v", oneshot_label: "v", on_style: (fg: "#fab387", bg: "#313244", modifiers: "Bold"), off_style: (fg: "#cdd6f4", bg: "#313244"), oneshot_style: (fg: "#f38ba8", bg: "#313244", modifiers: "Bold"), )))), (kind: Text(" "), style: (bg: "#313244")), ], align: Right )) ), ] ), "input_mode": Pane(Property( content: [ (kind: Transform(Replace(content: (kind: Property(Status(InputMode()))), replacements: [ (match: "Normal", replace: (kind: Text(" normal "), style: (fg: "#cdd6f4", bg: "#313244"))), (match: "Insert", replace: (kind: Text(" insert "), style: (fg: "#11111b", bg: "#94e2d5"))), ]))) ], align: Left )), "progress_bar": Split( direction: Horizontal, panes: [ ( size: "1", pane: Pane(Empty()) ), ( size: "100%", pane: Pane(ProgressBar) ), ( size: "1", pane: Pane(Empty()) ), ] ) }, )