def.ron (10826B)
1 #![enable(implicit_some)] 2 #![enable(unwrap_newtypes)] 3 #![enable(unwrap_variant_newtypes)] 4 ( 5 draw_borders: false, 6 show_song_table_header: true, 7 background_color: None, 8 default_album_art_path: None, 9 header_background_color: None, 10 modal_background_color: None, 11 modal_backdrop: true, 12 text_color: None, 13 layout: Split( 14 direction: Vertical, 15 panes: [ 16 ( 17 size: "4", 18 borders: "ALL", 19 pane: Split( 20 direction: Vertical, 21 panes: [ 22 ( 23 size: "1", 24 direction: Vertical, 25 pane: Split( 26 direction: Horizontal, 27 panes: [ 28 ( 29 size: "23", 30 pane: Pane(Property( 31 content: [ 32 (kind: Text("["), style: (fg: "yellow", modifiers: "Bold")), 33 (kind: Property(Status(StateV2())), style: (fg: "yellow", modifiers: "Bold")), 34 (kind: Text("]"), style: (fg: "yellow", modifiers: "Bold")), 35 ], align: Left, 36 )), 37 ), 38 ( 39 size: "100%", 40 borders: "LEFT | RIGHT", 41 pane: Pane(Property( 42 content: [ 43 (kind: Property(Song(Filename)), style: (modifiers: "Bold"), 44 default: (kind: Text("No Song"), style: (modifiers: "Bold"))) 45 ], align: Center, scroll_speed: 1 46 )), 47 ), 48 ( 49 size: "23", 50 pane: Pane(Property( 51 content: [ 52 (kind: Property(Widget(Volume)), style: (fg: "blue", modifiers: "Bold")) 53 ], align: Right 54 )), 55 ), 56 ], 57 ), 58 ), 59 ( 60 size: "1", 61 direction: Vertical, 62 pane: Split( 63 direction: Horizontal, 64 panes: [ 65 ( 66 size: "23", 67 pane: Pane(Property( 68 content: [ 69 (kind: Property(Status(Elapsed))), 70 (kind: Text(" / ")), 71 (kind: Property(Status(Duration))), 72 (kind: Group([ 73 (kind: Text(" (")), 74 (kind: Property(Status(Bitrate))), 75 (kind: Text(" kbps)")), 76 ])), 77 ], align: Left, 78 )), 79 ), 80 ( 81 size: "100%", 82 borders: "LEFT | RIGHT", 83 pane: Pane(Property( 84 content: [ 85 (kind: Property(Song(Artist)), style: (fg: "yellow", modifiers: "Bold"), 86 default: (kind: Text("Unknown"), style: (fg: "yellow", modifiers: "Bold"))), 87 (kind: Text(" - ")), 88 (kind: Property(Song(Album)), default: (kind: Text("Unknown Album"))) 89 ], align: Center, scroll_speed: 2 90 )), 91 ), 92 ( 93 size: "23", 94 pane: Pane(Property(content: [ 95 (kind: Property(Status(RepeatV2( 96 on_label: " ", 97 off_label: " ", 98 on_style: (fg: "yellow", modifiers: "Bold"), 99 off_style: (fg: "blue", modifiers: "Dim"), 100 )))), 101 (kind: Property(Status(RandomV2( 102 on_label: " ", 103 off_label: " ", 104 on_style: (fg: "yellow", modifiers: "Bold"), 105 off_style: (fg: "blue", modifiers: "Dim"), 106 )))), 107 (kind: Property(Status(SingleV2( 108 on_label: " ", 109 off_label: " ", 110 oneshot_label: " ", 111 on_style: (fg: "yellow", modifiers: "Bold"), 112 off_style: (fg: "blue", modifiers: "Dim"), 113 oneshot_style: (fg: "red", modifiers: "Bold"), 114 )))), 115 (kind: Property(Status(ConsumeV2( 116 on_label: " ", 117 off_label: " ", 118 oneshot_label: "", 119 on_style: (fg: "yellow", modifiers: "Bold"), 120 off_style: (fg: "blue", modifiers: "Dim"), 121 oneshot_style: (fg: "red", modifiers: "Dim"), 122 )))), 123 ], align: Right)), 124 ), 125 ], 126 ), 127 ), 128 ] 129 ) 130 ), 131 ( 132 size: "3", 133 borders: "ALL", 134 pane: Pane(Tabs), 135 ), 136 ( 137 size: "100%", 138 borders: "ALL", 139 background_color: "red", 140 pane: Pane(TabContent), 141 ), 142 ( 143 size: "3", 144 borders: "ALL", 145 pane: Split( 146 direction: Horizontal, 147 panes: [ 148 ( 149 pane: Pane(Property(content: [(kind: Property(Status(StateV2(playing_label: " ", paused_label: " ", stopped_label: " ", 150 playing_style: (fg: "blue"), paused_style: (fg: "green"), stopped_style: (fg: "red") 151 ))))], align: Left)), 152 size: "3", 153 ), 154 ( 155 size: "100%", 156 pane: Pane(ProgressBar), 157 ), 158 ( 159 size: "13", 160 pane: Pane(Property( 161 content: [ 162 (kind: Property(Status(Elapsed))), 163 (kind: Text(" / ")), 164 (kind: Property(Status(Duration))), 165 ], align: Right, 166 )), 167 ), 168 ] 169 ), 170 ), 171 ] 172 ), 173 symbols: ( 174 song: "🎵", 175 dir: "📁", 176 marker: "\u{e0b0}", 177 ellipsis: "…" 178 ), 179 progress_bar: ( 180 symbols: ["█", "\u{e0b0}", "█"], 181 track_style: (fg: "#1e2030"), 182 elapsed_style: (fg: "blue"), 183 thumb_style: (fg: "blue", bg: "#1e2030"), 184 ), 185 scrollbar: ( 186 symbols: ["│", "█", "▲", "▼"], 187 track_style: (), 188 ends_style: (), 189 thumb_style: (fg: "blue"), 190 ), 191 browser_column_widths: [20, 38, 42], 192 browser_song_format: [ 193 ( 194 kind: Group([ 195 (kind: Property(Track)), 196 (kind: Text(" ")), 197 ]) 198 ), 199 ( 200 kind: Group([ 201 (kind: Property(Artist)), 202 (kind: Text(" - ")), 203 (kind: Property(Title)), 204 ]), 205 default: (kind: Property(Filename)) 206 ), 207 ], 208 tab_bar: ( 209 active_style: (fg: "black", bg: "blue", modifiers: "Bold"), 210 inactive_style: (), 211 ), 212 highlighted_item_style: (fg: "blue", modifiers: "Bold"), 213 current_item_style: (fg: "black", bg: "blue", modifiers: "Bold"), 214 borders_style: (fg: "blue", modifiers: "Bold"), 215 highlight_border_style: (fg: "red"), 216 song_table_format: [ 217 ( 218 prop: (kind: Property(Other("albumartist")), default: (kind: Property(Artist), default: (kind: Text("Unknown")))), 219 width: "20%", 220 label: "Artist" 221 ), 222 ( 223 prop: (kind: Property(Title), default: (kind: Text("Unknown"))), 224 width: "35%", 225 ), 226 ( 227 prop: (kind: Property(Album), default: (kind: Text("Unknown Album"))), 228 width: "45%", 229 ), 230 ( 231 prop: (kind: Property(Duration),default: (kind: Text("-"))), 232 width: "5", 233 alignment: Right, 234 label: "Len" 235 ), 236 ], 237 header: (rows: []), 238 )