🔒 Backup for my config files
dotfiles
0
fork

Configure Feed

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

remove rmpc

kacaii 4364e8c3 d43499a8

-401
-184
.config/rmpc/config.ron
··· 1 - #![enable(implicit_some)] 2 - #![enable(unwrap_newtypes)] 3 - #![enable(unwrap_variant_newtypes)] 4 - ( 5 - address: "127.0.0.1:6600", 6 - password: None, 7 - theme: Some("custom"), 8 - cache_dir: None, 9 - on_song_change: None, 10 - volume_step: 5, 11 - max_fps: 30, 12 - scrolloff: 0, 13 - wrap_navigation: false, 14 - enable_mouse: true, 15 - enable_config_hot_reload: true, 16 - status_update_interval_ms: 1000, 17 - rewind_to_start_sec: None, 18 - keep_state_on_song_change: true, 19 - reflect_changes_to_playlist: false, 20 - select_current_song_on_change: false, 21 - ignore_leading_the: false, 22 - browser_song_sort: [Disc, Track, Artist, Title], 23 - directories_sort: SortFormat(group_by_type: true, reverse: false), 24 - album_art: ( 25 - method: Auto, 26 - max_size_px: (width: 1200, height: 1200), 27 - disabled_protocols: ["http://", "https://"], 28 - vertical_align: Center, 29 - horizontal_align: Center, 30 - ), 31 - keybinds: ( 32 - global: { 33 - ":": CommandMode, 34 - ",": VolumeDown, 35 - "s": Stop, 36 - ".": VolumeUp, 37 - "<Tab>": NextTab, 38 - "<S-Tab>": PreviousTab, 39 - "1": SwitchToTab("Queue"), 40 - "2": SwitchToTab("Directories"), 41 - "3": SwitchToTab("Artists"), 42 - "4": SwitchToTab("Album Artists"), 43 - "5": SwitchToTab("Albums"), 44 - "6": SwitchToTab("Playlists"), 45 - "7": SwitchToTab("Search"), 46 - "q": Quit, 47 - ">": NextTrack, 48 - "p": TogglePause, 49 - "<": PreviousTrack, 50 - "f": SeekForward, 51 - "z": ToggleRepeat, 52 - "x": ToggleRandom, 53 - "c": ToggleConsume, 54 - "v": ToggleSingle, 55 - "b": SeekBack, 56 - "~": ShowHelp, 57 - "u": Update, 58 - "U": Rescan, 59 - "I": ShowCurrentSongInfo, 60 - "O": ShowOutputs, 61 - "P": ShowDecoders, 62 - "R": AddRandom, 63 - }, 64 - navigation: { 65 - "k": Up, 66 - "j": Down, 67 - "h": Left, 68 - "l": Right, 69 - "<Up>": Up, 70 - "<Down>": Down, 71 - "<Left>": Left, 72 - "<Right>": Right, 73 - "<C-k>": PaneUp, 74 - "<C-j>": PaneDown, 75 - "<C-h>": PaneLeft, 76 - "<C-l>": PaneRight, 77 - "<C-u>": UpHalf, 78 - "N": PreviousResult, 79 - "a": Add, 80 - "A": AddAll, 81 - "r": Rename, 82 - "n": NextResult, 83 - "g": Top, 84 - "<Space>": Select, 85 - "<C-Space>": InvertSelection, 86 - "G": Bottom, 87 - "<CR>": Confirm, 88 - "i": FocusInput, 89 - "J": MoveDown, 90 - "<C-d>": DownHalf, 91 - "/": EnterSearch, 92 - "<C-c>": Close, 93 - "<Esc>": Close, 94 - "K": MoveUp, 95 - "D": Delete, 96 - "B": ShowInfo, 97 - "<C-z>": ContextMenu(), 98 - "<C-s>": Save(kind: Modal(all: false, duplicates_strategy: Ask)), 99 - }, 100 - queue: { 101 - "D": DeleteAll, 102 - "<CR>": Play, 103 - "a": AddToPlaylist, 104 - "d": Delete, 105 - "C": JumpToCurrent, 106 - "X": Shuffle, 107 - }, 108 - ), 109 - search: ( 110 - case_sensitive: false, 111 - ignore_diacritics: false, 112 - search_button: false, 113 - mode: Contains, 114 - tags: [ 115 - (value: "any", label: "Any Tag"), 116 - (value: "artist", label: "Artist"), 117 - (value: "album", label: "Album"), 118 - (value: "albumartist", label: "Album Artist"), 119 - (value: "title", label: "Title"), 120 - (value: "filename", label: "Filename"), 121 - (value: "genre", label: "Genre"), 122 - ], 123 - ), 124 - artists: ( 125 - album_display_mode: SplitByDate, 126 - album_sort_by: Date, 127 - album_date_tags: [Date], 128 - ), 129 - tabs: [ 130 - ( 131 - name: "Queue", 132 - pane: Split( 133 - direction: Horizontal, 134 - panes: [ 135 - ( 136 - size: "40%", 137 - pane: Split( 138 - direction: Vertical, 139 - panes: [ 140 - ( 141 - size: "3", 142 - pane: Pane(Lyrics) 143 - ), 144 - ( 145 - size: "100%", 146 - pane: Pane(AlbumArt) 147 - ), 148 - ], 149 - ), 150 - ), 151 - ( 152 - size: "60%", 153 - pane: Pane(Queue) 154 - ), 155 - ], 156 - ), 157 - ), 158 - ( 159 - name: "Directories", 160 - pane: Pane(Directories), 161 - ), 162 - ( 163 - name: "Artists", 164 - pane: Pane(Artists), 165 - ), 166 - ( 167 - name: "Album Artists", 168 - pane: Pane(AlbumArtists), 169 - ), 170 - ( 171 - name: "Albums", 172 - pane: Pane(Albums), 173 - ), 174 - ( 175 - name: "Playlists", 176 - pane: Pane(Playlists), 177 - ), 178 - ( 179 - name: "Search", 180 - pane: Pane(Search), 181 - ), 182 - ], 183 - ) 184 -
-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 - )