🔒 Backup for my config files
dotfiles
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

add custom theme

kacaii d43499a8 3eaf7889

+219 -2
+2 -2
.config/rmpc/config.ron
··· 4 4 ( 5 5 address: "127.0.0.1:6600", 6 6 password: None, 7 - theme: None, 7 + theme: Some("custom"), 8 8 cache_dir: None, 9 9 on_song_change: None, 10 10 volume_step: 5, 11 - max_fps: 60, 11 + max_fps: 30, 12 12 scrolloff: 0, 13 13 wrap_navigation: false, 14 14 enable_mouse: true,
+217
.config/rmpc/themes/custom.ron
··· 1 + #![enable(implicit_some)] 2 + #![enable(unwrap_newtypes)] 3 + #![enable(unwrap_variant_newtypes)] 4 + ( 5 + show_song_table_header: false, 6 + draw_borders: true, 7 + browser_column_widths: [20, 38, 42], 8 + background_color: "#2e3440", 9 + modal_backdrop: true, 10 + text_color: "#d8dee9", 11 + header_background_color: "#2e3440", 12 + modal_background_color: "#2e3440", 13 + preview_label_style: (fg: "#b48ead"), 14 + preview_metadata_group_style: (fg: "#81a1c1"), 15 + song_table_album_separator: None, 16 + tab_bar: ( 17 + enabled: true, 18 + active_style: (fg: "#2e3440", bg: "#81A1C1", modifiers: "Bold"), 19 + inactive_style: (fg: "#d8dee9", bg: "#2e3440"), 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: " ", playlist: "󰲸 ", marker: "* ", ellipsis: "...", 26 + song_style: (fg: "#81a1c1"), dir_style: (fg: "#81a1c1") 27 + ), 28 + progress_bar: ( 29 + symbols: ["", "█", "", "█", "" ], 30 + track_style: (fg: "#3b4252", bg: "#2e3440"), 31 + elapsed_style: (fg: "#81a1c1", bg: "#2e3440"), 32 + thumb_style: (fg: "#81a1c1", bg: "#3b4252"), 33 + ), 34 + scrollbar: ( 35 + symbols: ["┋", "█", "󰄿", "󰄼"], 36 + track_style: (fg: "#81a1c1"), 37 + ends_style: (fg: "#81a1c1"), 38 + thumb_style: (fg: "#81a1c1"), 39 + ), 40 + song_table_format: [ 41 + ( 42 + prop: (kind: Transform(Replace(content: (kind: Sticker("rating")), replacements: [ 43 + (match: "0", replace: (kind: Group([(kind: Text("󰎡"))]))), 44 + (match: "1", replace: (kind: Group([(kind: Text("󰎤"),style: (fg: "#81a1c1"))]))), 45 + (match: "2", replace: (kind: Group([(kind: Text("󰎧"),style: (fg: "#81a1c1"))]))), 46 + (match: "3", replace: (kind: Group([(kind: Text("󰎪"),style: (fg: "#81a1c1"))]))), 47 + (match: "4", replace: (kind: Group([(kind: Text("󰎭"),style: (fg: "#81a1c1"))]))), 48 + (match: "5", replace: (kind: Group([(kind: Text("󰎱"),style: (fg: "#81a1c1"))]))), 49 + (match: "6", replace: (kind: Group([(kind: Text("󰎳"),style: (fg: "#81a1c1"))]))), 50 + (match: "7", replace: (kind: Group([(kind: Text("󰎶"),style: (fg: "#81a1c1"))]))), 51 + (match: "8", replace: (kind: Group([(kind: Text("󰎹"),style: (fg: "#81a1c1"))]))), 52 + (match: "9", replace: (kind: Group([(kind: Text("󰎼"),style: (fg: "#81a1c1"))]))), 53 + (match: "10", replace: (kind: Group([(kind: Text("󰽽"),style: (fg: "#81a1c1"))]))), 54 + ])), default: (kind: Text(""), style: (fg: "#5e81ac"))), 55 + width: "3", 56 + label: "Rating", 57 + alignment: Left, 58 + ), 59 + ( 60 + prop: (kind: Property(Artist), style: (fg: "#81a1c1"), 61 + default: (kind: Text("Unknown Artist"), style: (fg: "#b48ead"))), 62 + width: "21%" 63 + ), 64 + ( 65 + prop: (kind: Property(Title), style: (fg: "#88c0d0"), 66 + default: (kind: Property(Filename), style: (fg: "#d8dee9"))), 67 + width: "45%" 68 + ), 69 + ( 70 + prop: (kind: Property(Album), style: (fg: "#81a1c1"), 71 + default: (kind: Text("Unknown Album"), style: (fg: "#b48ead"))), 72 + width: "34%" 73 + ), 74 + ( 75 + prop: (kind: Property(Duration), style: (fg: "#88c0d0"), 76 + default: (kind: Text("-"))), 77 + width: "5%", alignment: Right 78 + ), 79 + ], 80 + layout: Split( 81 + direction: Vertical, panes: [ 82 + (size: "3", pane: Pane(Tabs)), 83 + (size: "4", borders: "ALL", pane: Component("custom-header")), 84 + (size: "100%", borders: "NONE", pane: Pane(TabContent)), 85 + (size: "3", borders: "TOP | BOTTOM", pane: Pane(ProgressBar)), 86 + ]), 87 + header: (rows: []), 88 + browser_song_format: [ 89 + (kind: Group([ 90 + (kind: Property(Track)), 91 + (kind: Text(" ")), 92 + ])), 93 + (kind: Group([ 94 + (kind: Property(Artist)), 95 + (kind: Text(" - ")), 96 + (kind: Property(Title)), 97 + ]), default: (kind: Property(Filename))) 98 + ], 99 + level_styles: ( 100 + info: (fg: "#a3be8c", bg: "#2e3440"), 101 + warn: (fg: "#ebcb8b", bg: "#2e3440"), 102 + error: (fg: "#bf616a", bg: "#2e3440"), 103 + debug: (fg: "#d08770", bg: "#2e3440"), 104 + trace: (fg: "#b48ead", bg: "#2e3440"), 105 + ), 106 + components: { 107 + "custom_song_table_header": Split(borders: "ALL", direction: Horizontal, panes: [ 108 + (size: "5", pane: Pane(Property(content: [ 109 + (kind: Text(" 󰩳"), style: (fg: "#81a1c1")), 110 + ], align: Left)) 111 + ), 112 + (size: "21%", pane: Pane(Property(content: [ 113 + (kind: Text("Artist "), style: (fg: "#d8dee9")), 114 + (kind: Text(""), style: (fg: "#81a1c1")) 115 + ], align: Left)) 116 + ), 117 + (size: "39%", pane: Pane(Property(content: [ 118 + (kind: Text("Title "), style: (fg: "#d8dee9")), 119 + (kind: Text(""), style: (fg: "#81a1c1")) 120 + ], align: Left)) 121 + ), 122 + (size: "33%", pane: Pane(Property(content: [ 123 + (kind: Text("Album "), style: (fg: "#d8dee9")), 124 + (kind: Text("󰀥"), style: (fg: "#81a1c1")) 125 + ], align: Left)) 126 + ), 127 + (size: "7%", pane: Pane(Property(content: [ 128 + (kind: Text("Length "), style: (fg: "#d8dee9")), 129 + (kind: Text(" "), style: (fg: "#81a1c1")) 130 + ], align: Right)) 131 + ), 132 + (size: "1", pane: Pane(Property(content: [ 133 + (kind: Text(" "), style: (fg: "#81a1c1")), 134 + ], align: Left)) 135 + ), 136 + ]), 137 + "custom-header": Split(direction: Horizontal, panes: [ 138 + (size: "33%", pane: Split(direction: Vertical, panes: [ 139 + (size: "100%", pane: Pane(Property(content: [ 140 + (kind: Text(""), style: (fg: "#81a1c1", modifiers: "Bold")), 141 + (kind: Property(Status(StateV2(playing_label: "  ", paused_label: "  ", stopped_label: "  "))),style: (fg: "#d8dee9")), 142 + (kind: Text(" "), style: (fg: "#81a1c1", modifiers: "Bold")), 143 + (kind: Property(Widget(ScanStatus)), style: (fg: "#d8dee9", modifiers: "Bold")) 144 + ], align: Left)) 145 + ), 146 + (size: "100%", pane: Pane(Property(content: [ 147 + (kind: Text("[ "),style: (fg: "#81a1c1", modifiers: "Bold")), 148 + (kind: Property(Status(Elapsed)),style: (fg: "#d8dee9")), 149 + (kind: Text(" / "),style: (fg: "#81a1c1", modifiers: "Bold")), 150 + (kind: Property(Status(Duration)),style: (fg: "#d8dee9")), 151 + (kind: Text(" | "),style: (fg: "#81a1c1", modifiers: "Bold")), 152 + (kind: Property(Status(Bitrate)),default: (kind: Text(" ")),style: (fg: "#d8dee9")), 153 + (kind: Text(" kbps"),style: (fg: "#81a1c1")), 154 + (kind: Text(" ]"),style: (fg: "#81a1c1", modifiers: "Bold")) 155 + ], align: Left)) 156 + ), 157 + ]) 158 + ), 159 + (size: "34%", pane: Split(direction: Vertical, panes: [ 160 + (size: "100%", pane: Pane(Property(content: [ 161 + (kind: Property(Song(Title)), style: (fg: "#d8dee9",modifiers: "Bold"), 162 + default: (kind: Property(Song(Filename)), style: (fg: "#d8dee9",modifiers: "Bold"))) 163 + ], align: Center)) 164 + ), 165 + (size: "100%", pane: Pane(Property(content: [ 166 + (kind: Property(Song(Artist)), style: (fg: "#88c0d0"), 167 + default: (kind: Text("Unknown Artist"), style: (fg: "#88c0d0"))), 168 + (kind: Text(" - "), style: (fg: "#d8dee9")), 169 + (kind: Property(Song(Album)),style: (fg: "#81a1c1" ), 170 + default: (kind: Text("Unknown Album"), style: (fg: "#81a1c1"))) 171 + ], align: Center)) 172 + ), 173 + ]) 174 + ), 175 + (size: "33%", pane: Split(direction: Vertical, panes: [ 176 + (size: "100%", pane: Pane(Property(content: [ 177 + (kind: Text(" 󱡬"), style: (fg: "#81a1c1", modifiers: "Bold")), 178 + (kind: Property(Status(Volume)), style: (fg: "#d8dee9")), 179 + (kind: Text("% "), style: (fg: "#81a1c1", modifiers: "Bold")) 180 + ], align: Right)) 181 + ), 182 + (size: "100%", pane: Pane(Property(content: [ 183 + (kind: Text("[ "),style: (fg: "#81a1c1", modifiers: "Bold")), 184 + (kind: Property(Status(QueueLength())),style: (fg: "#d8dee9")), 185 + (kind: Text(" 󰴍 | "),style: (fg: "#81a1c1", modifiers: "Bold")), 186 + (kind: Property(Status(QueueTimeTotal(separator: " "))),style: (fg: "#d8dee9")), 187 + (kind: Text(" 󱎫 | "),style: (fg: "#81a1c1", modifiers: "Bold")), 188 + (kind: Property(Status(RepeatV2(on_label: "", off_label: "", 189 + on_style: (fg: "#d8dee9", modifiers: "Bold"), off_style: (fg: "#4c566a", modifiers: "Bold"))))), 190 + (kind: Text(" | "),style: (fg: "#81a1c1", modifiers: "Bold")), 191 + (kind: Property(Status(RandomV2(on_label: "", off_label: "", 192 + on_style: (fg: "#d8dee9", modifiers: "Bold"), off_style: (fg: "#4c566a", modifiers: "Bold"))))), 193 + (kind: Text(" | "),style: (fg: "#81a1c1", modifiers: "Bold")), 194 + (kind: Property(Status(ConsumeV2(on_label: "󰮯", off_label: "󰮯", oneshot_label: "󰮯󰇊", 195 + on_style: (fg: "#d8dee9", modifiers: "Bold"), off_style: (fg: "#4c566a", modifiers: "Bold"))))), 196 + (kind: Text(" | "),style: (fg: "#81a1c1", modifiers: "Bold")), 197 + (kind: Property(Status(SingleV2(on_label: "󰎤", off_label: "󰎦", oneshot_label: "󰇊", off_oneshot_label: "󱅊", 198 + on_style: (fg: "#d8dee9", modifiers: "Bold"), off_style: (fg: "#4c566a", modifiers: "Bold"))))), 199 + (kind: Text(" ]"),style: (fg: "#81a1c1", modifiers: "Bold")), 200 + ], align: Right)) 201 + ), 202 + ]) 203 + ), 204 + ]) 205 + }, 206 + cava: ( 207 + bar_symbols: ['▁', '▂', '▃', '▄', '▅', '▆', '▇', '█'], 208 + bar_width: 1, bar_spacing: 1, 209 + bg_color: "#2e3440", 210 + bar_color: Gradient({ 211 + 0: "#5e81ac", 212 + 33: "#81a1c1", 213 + 67: "#88c0d0", 214 + 100: "#8fbcbb", 215 + }) 216 + ), 217 + )