def.ron (6344B) - View raw
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193#![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: "white", 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: "black", bg: "yellow", modifiers: "Bold"), inactive_style: (fg: "white", bg: None, modifiers: ""), ), highlighted_item_style: (fg: "magenta", modifiers: "Bold"), current_item_style: (fg: "black", bg: "yellow", modifiers: "Bold"), borders_style: (fg: "yellow", modifiers: "Bold"), highlight_border_style: (fg: "yellow"), symbols: (song: " ", dir: " ", playlist: " ", marker: "* ", ellipsis: "..."), progress_bar: ( symbols: ["█", "█", "█", "█", "█"], track_style: (fg: "dark_gray"), elapsed_style: (fg: "yellow"), thumb_style: (fg: "yellow"), ), scrollbar: ( symbols: ["│", "█", "▲", "▼"], track_style: (fg: "yellow"), ends_style: (fg: "light_yellow"), thumb_style: (fg: "light_yellow"), ), song_table_format: [ ( prop: (kind: Property(Artist), style: (fg: "green"), default: (kind: Text("Unknown"), style: (fg: "green")) ), width: "20%", ), ( prop: (kind: Property(Title), style: (fg: "white"), highlighted_item_style: (fg: "white", modifiers: "Bold"), default: (kind: Property(Filename), style: (fg: "white"),) ), width: "35%", ), ( prop: (kind: Property(Album), style: (fg: "blue"), default: (kind: Text("Unknown Album"), style: (fg: "gray")) ), 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: "light_yellow", modifiers: "Bold")), (kind: Property(Status(StateV2(playing_label: " ", paused_label: " ", stopped_label: " ")))), (kind: Text(" "), style: (fg: "light_yellow", modifiers: "Bold")), (kind: Property(Widget(ScanStatus))) ], center: [ (kind: Property(Song(Title)), style: (fg: "white",modifiers: "Bold"), default: (kind: Property(Song(Filename)), style: (fg: "white",modifiers: "Bold")) ) ], right: [ (kind: Text(""), style: (fg: "light_yellow", modifiers: "Bold")), (kind: Property(Status(Volume)), style: (fg: "white", modifiers: "Bold")), (kind: Text("%"), style: (fg: "light_yellow", modifiers: "Bold")) ] ), ( left: [ (kind: Text("[ "),style: (fg: "light_yellow", modifiers: "Bold")), (kind: Property(Status(Elapsed)),style: (fg: "white")), (kind: Text(" / "),style: (fg: "yellow", modifiers: "Bold")), (kind: Property(Status(Duration)),style: (fg: "white")), (kind: Text(" | "),style: (fg: "yellow")), (kind: Property(Status(Bitrate)),style: (fg: "white")), (kind: Text(" kbps"),style: (fg: "yellow")), (kind: Text("]"),style: (fg: "light_yellow", modifiers: "Bold")) ], center: [ (kind: Property(Song(Artist)), style: (fg: "white", modifiers: "Bold"), default: (kind: Text("Unknown Artist"), style: (fg: "white", modifiers: "Bold")) ), (kind: Text(" - ")), (kind: Property(Song(Album)),style: (fg: "white" ), default: (kind: Text("Unknown Album"), style: (fg: "white", modifiers: "Bold")) ) ], right: [ (kind: Text("[ "),style: (fg: "light_yellow")), (kind: Property(Status(RepeatV2( on_label: "", off_label: "", on_style: (fg: "white", modifiers: "Bold"), off_style: (fg: "dark_gray", modifiers: "Bold"))))), (kind: Text(" | "),style: (fg: "yellow")), (kind: Property(Status(RandomV2( on_label: "", off_label: "", on_style: (fg: "white", modifiers: "Bold"), off_style: (fg: "dark_gray", modifiers: "Bold"))))), (kind: Text(" | "),style: (fg: "yellow")), (kind: Property(Status(ConsumeV2( on_label: "", off_label: "", oneshot_label: "", on_style: (fg: "white", modifiers: "Bold"), off_style: (fg: "dark_gray", modifiers: "Bold"))))), (kind: Text(" | "),style: (fg: "yellow")), (kind: Property(Status(SingleV2( on_label: "", off_label: "", oneshot_label: "", off_oneshot_label: "", on_style: (fg: "white", modifiers: "Bold"), off_style: (fg: "dark_gray", modifiers: "Bold"))))), (kind: Text(" ]"),style: (fg: "light_yellow")), ] ), ], ), browser_song_format: [ ( kind: Group([ (kind: Property(Track)), (kind: Text(" ")), ]) ), ( kind: Group([ (kind: Property(Artist)), (kind: Text(" - ")), (kind: Property(Title)), ]), default: (kind: Property(Filename)) ), ], )