nord.ron (7824B)
1 #![enable(implicit_some)] 2 #![enable(unwrap_newtypes)] 3 #![enable(unwrap_variant_newtypes)] 4 ( 5 default_album_art_path: None, 6 show_song_table_header: true, 7 draw_borders: true, 8 browser_column_widths: [20, 38, 42], 9 background_color: None, 10 modal_backdrop: true, 11 text_color: "#d8dee9", 12 header_background_color: None, 13 modal_background_color: None, 14 preview_label_style: (fg: "#b48ead"), 15 preview_metadata_group_style: (fg: "#88c0d0"), 16 tab_bar: ( 17 enabled: true, 18 active_style: (bg: "#81A1C1", modifiers: "Bold"), 19 inactive_style: (fg: "#d8dee9", modifiers: ""), 20 ), 21 highlighted_item_style: (fg: "#a3be8c", modifiers: "Bold"), 22 current_item_style: (fg: "#2e3440", bg: "#81a1c1", modifiers: "Bold"), 23 borders_style: (fg: "#81a1c1", modifiers: "Bold"), 24 highlight_border_style: (fg: "#81a1c1"), 25 symbols: (song: " ", dir: " ", marker: "* ", ellipsis: "..."), 26 progress_bar: ( 27 symbols: ["█", "█", "█"], 28 track_style: (fg: "#3b4252"), 29 elapsed_style: (fg: "#81a1c1"), 30 thumb_style: (fg: "#81a1c1"), 31 ), 32 scrollbar: ( 33 symbols: ["│", "█", "▲", "▼"], 34 track_style: (fg: "#81a1c1"), 35 ends_style: (fg: "#81a1c1"), 36 thumb_style: (fg: "#81a1c1"), 37 ), 38 song_table_format: [ 39 ( 40 prop: (kind: Property(Artist), style: (fg: "#81a1c1"), 41 default: (kind: Text("Unknown"), style: (fg: "#b48ead")) 42 ), 43 width: "20%", 44 ), 45 ( 46 prop: (kind: Property(Title), style: (fg: "#88c0d0"), 47 highlighted_item_style: (fg: "#d8dee9", modifiers: "Bold"), 48 default: (kind: Property(Filename), style: (fg: "#d8dee9"),) 49 ), 50 width: "35%", 51 ), 52 ( 53 prop: (kind: Property(Album), style: (fg: "#81a1c1"), 54 default: (kind: Text("Unknown Album"), style: (fg: "#b48ead")) 55 ), 56 width: "30%", 57 ), 58 ( 59 prop: (kind: Property(Duration), style: (fg: "#88c0d0"), 60 default: (kind: Text("-")) 61 ), 62 width: "15%", 63 alignment: Right, 64 ), 65 ], 66 layout: Split( 67 direction: Vertical, 68 panes: [ 69 ( 70 size: "3", 71 pane: Pane(Tabs), 72 ), 73 ( 74 size: "4", 75 pane: Split( 76 direction: Horizontal, 77 panes: [ 78 ( 79 size: "100%", 80 pane: Split( 81 direction: Vertical, 82 panes: [ 83 ( 84 size: "4", 85 borders: "ALL", 86 pane: Pane(Header), 87 ), 88 ] 89 ) 90 ), 91 ] 92 ), 93 ), 94 ( 95 size: "100%", 96 pane: Split( 97 direction: Horizontal, 98 panes: [ 99 ( 100 size: "100%", 101 borders: "NONE", 102 pane: Pane(TabContent), 103 ), 104 ] 105 ), 106 ), 107 ( 108 size: "3", 109 borders: "TOP | BOTTOM", 110 pane: Pane(ProgressBar), 111 ), 112 ], 113 ), 114 header: ( 115 rows: [ 116 ( 117 left: [ 118 (kind: Text(""), style: (fg: "#81a1c1", modifiers: "Bold")), 119 (kind: Property(Status(StateV2(playing_label: " ", paused_label: " ", stopped_label: " ")))), 120 (kind: Text(" "), style: (fg: "#81a1c1", modifiers: "Bold")), 121 //(kind: Property(Widget(ScanStatus))) 122 ], 123 center: [ 124 (kind: Property(Song(Title)), style: (fg: "#d8dee9",modifiers: "Bold"), 125 default: (kind: Property(Song(Filename)), style: (fg: "#d8dee9",modifiers: "Bold")) 126 ) 127 ], 128 right: [ 129 (kind: Text(""), style: (fg: "#81a1c1", modifiers: "Bold")), 130 (kind: Property(Status(Volume)), style: (fg: "#d8dee9", modifiers: "Bold")), 131 (kind: Text("%"), style: (fg: "#81a1c1", modifiers: "Bold")) 132 ] 133 ), 134 ( 135 left: [ 136 (kind: Text("[ "),style: (fg: "#81a1c1", modifiers: "Bold")), 137 (kind: Property(Status(Elapsed)),style: (fg: "#d8dee9")), 138 (kind: Text(" / "),style: (fg: "#81a1c1", modifiers: "Bold")), 139 (kind: Property(Status(Duration)),style: (fg: "#d8dee9")), 140 (kind: Text(" | "),style: (fg: "#81a1c1")), 141 (kind: Property(Status(Bitrate)),style: (fg: "#d8dee9")), 142 (kind: Text(" kbps"),style: (fg: "#81a1c1")), 143 (kind: Text("]"),style: (fg: "#81a1c1", modifiers: "Bold")) 144 ], 145 center: [ 146 (kind: Property(Song(Artist)), style: (fg: "#88c0d0", modifiers: "Bold"), 147 default: (kind: Text("Unknown Artist"), style: (fg: "#88c0d0", modifiers: "Bold")) 148 ), 149 (kind: Text(" - ")), 150 (kind: Property(Song(Album)),style: (fg: "#81a1c1" ), 151 default: (kind: Text("Unknown Album"), style: (fg: "#81a1c1", modifiers: "Bold")) 152 ) 153 ], 154 right: [ 155 (kind: Text("[ "),style: (fg: "#81a1c1")), 156 (kind: Property(Status(RepeatV2( 157 on_label: "", off_label: "", 158 on_style: (fg: "#d8dee9", modifiers: "Bold"), off_style: (fg: "#4c566a", modifiers: "Bold"))))), 159 (kind: Text(" | "),style: (fg: "#81a1c1")), 160 (kind: Property(Status(RandomV2( 161 on_label: "", off_label: "", 162 on_style: (fg: "#d8dee9", modifiers: "Bold"), off_style: (fg: "#4c566a", modifiers: "Bold"))))), 163 (kind: Text(" | "),style: (fg: "#81a1c1")), 164 (kind: Property(Status(ConsumeV2( 165 on_label: "", off_label: "", oneshot_label: "", 166 on_style: (fg: "#d8dee9", modifiers: "Bold"), off_style: (fg: "#4c566a", modifiers: "Bold"))))), 167 (kind: Text(" | "),style: (fg: "#81a1c1")), 168 (kind: Property(Status(SingleV2( 169 on_label: "", off_label: "", oneshot_label: "", off_oneshot_label: "", 170 on_style: (fg: "#d8dee9", modifiers: "Bold"), off_style: (fg: "#4c566a", modifiers: "Bold"))))), 171 (kind: Text(" ]"),style: (fg: "#81a1c1")), 172 ] 173 ), 174 ], 175 ), 176 browser_song_format: [ 177 ( 178 kind: Group([ 179 (kind: Property(Track)), 180 (kind: Text(" ")), 181 ]) 182 ), 183 ( 184 kind: Group([ 185 (kind: Property(Artist)), 186 (kind: Text(" - ")), 187 (kind: Property(Title)), 188 ]), 189 default: (kind: Property(Filename)) 190 ), 191 ], 192 )