#![enable(implicit_some)] #![enable(unwrap_newtypes)] #![enable(unwrap_variant_newtypes)] ( default_album_art_path: None, show_song_table_header: true, draw_borders: true, format_tag_separator: " | ", browser_column_widths: [20, 38, 42], background_color: None, text_color: Some("#ddc2a1"), header_background_color: None, modal_background_color: None, modal_backdrop: false, preview_label_style: (fg: "#f3bd6e"), preview_metadata_group_style: (fg: "#b7cea2", modifiers: "Bold"), tab_bar: ( active_style: (fg: "#2c1e08", bg: "#ddc2a1", modifiers: "Bold"), inactive_style: (fg: "#ddc2a1", modifiers: "Bold"), ), highlighted_item_style: (fg: "#ddc2a1", modifiers: "Bold"), current_item_style: (fg: "#ddc2a1", bg: "#704a01", modifiers: "Bold"), borders_style: (fg: "#ddc2a1"), highlight_border_style: (fg: "#ddc2a1"), symbols: ( song: "S", dir: "D", playlist: "P", marker: "M", ellipsis: "...", song_style: None, dir_style: None, playlist_style: None, ), 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: "#2c1e08", ), elapsed_style: ( fg: "#ddc2a1", ), thumb_style: ( fg: "#ddc2a1", ), use_track_when_empty: false, ), scrollbar: ( symbols: ["│", "█", "▲", "▼"], track_style: (fg: "#ddc2a1"), ends_style: (fg: "#fadebc"), thumb_style: (fg: "#f3bd6e"), ), song_table_format: [ ( prop: ( kind: Property(Artist), style: (fg: "#ffddb1"), default: (kind: Text("Unknown"), style: (fg: "#ffddb1")) ), width: "20%", ), ( prop: ( kind: Property(Title), style: (fg: "#f3bd6e"), default: (kind: Text("Unknown"), style: (fg: "#ffddb1")) ), width: "35%", ), ( prop: (kind: Property(Album), style: (fg: "#ffddb1"), default: (kind: Text("Unknown Album"), style: (fg: "#ffddb1")) ), width: "30%", ), ( prop: (kind: Property(Duration), style: (fg: "#f3bd6e"), default: (kind: Text("-"), style: (fg: "#ffddb1")) ), width: "15%", alignment: Right, ), ], components: {}, layout: Split( direction: Vertical, panes: [ ( pane: Pane(Header), size: "2", ), ( pane: Pane(Tabs), size: "3", ), ( pane: Pane(TabContent), size: "100%", ), ( pane: Pane(ProgressBar), size: "1", ), ], ), header: ( rows: [ ( left: [ (kind: Text("["), style: (fg: "#b7cea2", modifiers: "Bold")), ( kind: Property(Status(StateV2(playing_label: "Playing", paused_label: "Paused", stopped_label: "Stopped"))), style: (fg: "#b7cea2", modifiers: "Bold") ), (kind: Text("]"), style: (fg: "#b7cea2", modifiers: "Bold")) ], center: [ (kind: Property(Song(Title)), style: (modifiers: "Bold"), default: (kind: Text("No Song"), style: (modifiers: "Bold")) ) ], right: [ (kind: Property(Widget(ScanStatus)), style: (fg: "#f3bd6e")), (kind: Property(Widget(Volume)), style: (fg: "#f3bd6e")) ] ), ( left: [ (kind: Property(Status(Elapsed))), (kind: Text(" / ")), (kind: Property(Status(Duration))), (kind: Text(" (")), (kind: Property(Status(Bitrate))), (kind: Text(" kbps)")) ], center: [ (kind: Property(Song(Artist)), style: (fg: "#b7cea2", modifiers: "Bold"), default: (kind: Text("Unknown"), style: (fg: "#b7cea2", modifiers: "Bold")) ), (kind: Text(" - ")), (kind: Property(Song(Album)), style: (fg: "#f3bd6e"), default: (kind: Text("Unknown Album")) ) ], right: [ ( kind: Property(Widget(States( active_style: (fg: "#f3bd6e", modifiers: "Bold"), separator_style: (fg: "#f3bd6e"))) ), style: (fg: "#ddc2a1") ), ] ), ], ), browser_song_format: [ ( kind: Group([ (kind: Property(Track), style: (fg: "#f3bd6e")), (kind: Text(" ")), ]) ), ( kind: Group([ (kind: Property(Artist), style: (fg: "#f3bd6e")), (kind: Text(" - ")), (kind: Property(Title), style: (fg: "#f3bd6e")), ]), default: (kind: Property(Filename), style: (fg: "#f3bd6e")) ), ], lyrics: ( timestamp: false ), cava: ( bar_width: 2, // width of a single bar in columns bar_spacing: 1, // free space between bars in columns orientation: Bottom, // A simple color gradient. // This is a map where keys are percent values of the height where the // color starts. After that it is linearly interpolated towards the next // value. Keys must be between 0 and 100 and if the first or last key // are not 0 and 100 respectively, the lowest and highest value will be // used as 0 and 100. // Only hex and RGB colors are supported here and your terminal must // support them as well! // rmpc does not support `horizontal_gradient` (yet?) bar_color: Gradient({ 0: "#986c25", 50: "#f3bd6e", 100: "#ffffff" }) ), )