#![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, text_color: None, header_background_color: None, modal_background_color: None, tab_bar: ( enabled: true, active_style: (fg: "gray", bg: "green", modifiers: "Bold"), inactive_style: (), ), highlighted_item_style: (fg: "light_red", modifiers: "Bold"), current_item_style: (fg: "yellow", bg: "red", modifiers: "Bold"), borders_style: (fg: "green"), highlight_border_style: (fg: "green"), symbols: (song: "S", dir: "D", marker: "M", ellipsis: "..."), progress_bar: ( symbols: ["#", ">", "-"], track_style: (fg: "black"), elapsed_style: (fg: "green"), thumb_style: (fg: "light_yellow", modifiers: "Bold"), ), scrollbar: ( symbols: ["│", "█", "▲", "▼"], track_style: (fg: "dark_gray"), ends_style: (fg: "light_green"), thumb_style: (fg: "green"), ), song_table_format: [ ( prop: (kind: Property(Artist), default: (kind: Text("Unknown")) ), width: "20%", ), ( prop: (kind: Property(Title), default: (kind: Text("Unknown")) ), width: "35%", ), ( prop: (kind: Property(Album), style: (fg: "white"), default: (kind: Text("Unknown Album"), style: (fg: "white")) ), width: "30%", ), ( prop: (kind: Property(Duration), default: (kind: Text("-")) ), width: "15%", alignment: Right, ), ], 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: "yellow", modifiers: "Bold")), (kind: Property(Status(StateV2(playing_label: "Playing", paused_label: "Paused", stopped_label: "Stopped"))), style: (fg: "yellow", modifiers: "Bold")), (kind: Text("]"), style: (fg: "yellow", modifiers: "Bold")) ], center: [ (kind: Property(Song(Title)), style: (fg: "light_blue", bg: "black", modifiers: "Bold"), default: (kind: Text("No Song"), style: (modifiers: "Bold")) ) ], right: [ (kind: Property(Widget(Volume)), style: (fg: "magenta")) ] ), ( left: [ (kind: Property(Status(Elapsed))), (kind: Text(" / ")), (kind: Property(Status(Duration))), ], center: [ (kind: Property(Song(Artist)), style: (fg: "gray", bg: "black"), default: (kind: Text("Unknown"), style: (fg: "gray")) ), (kind: Text(" - ")), (kind: Property(Song(Album)), style: (fg: "gray", bg: "black"), default: (kind: Text("Unknown Album")) ) ], right: [ ( kind: Property(Widget(States( active_style: (fg: "white", modifiers: "Bold"), separator_style: (fg: "white"))) ), style: (fg: "dark_gray") ), ] ), ], ), browser_song_format: [ ( kind: Group([ (kind: Property(Track)), (kind: Text(" ")), ]) ), ( kind: Group([ (kind: Property(Artist)), (kind: Text(" - ")), (kind: Property(Title)), ]), default: (kind: Property(Filename)) ), ], cava: ( bar_symbol: "p", // symbol that will be used as a bar in the visualiser // bar_symbol: "█", // symbol that will be used as a bar in the visualiser bg_color: "black", // background color, defaults to rmpc's bg color if not provided // Every bar symbol will be red bar_color: Gradient({ 0: "rgb( 14, 76, 74)", 15: "rgb( 70, 99, 75)", 28: "rgb( 121, 120, 76)", 42: "rgb( 228, 164, 77)", 56: "rgb( 199, 133, 71)", 70: "rgb( 172, 104, 65)", 85: "rgb( 143, 73, 59)", 100: "rgb( 115, 45, 53)", }) ), )