diff --git a/rmpc/.config/rmpc/config.ron b/rmpc/.config/rmpc/config.ron new file mode 100644 index 0000000..365b0f3 --- /dev/null +++ b/rmpc/.config/rmpc/config.ron @@ -0,0 +1,90 @@ +#![enable(implicit_some)] +#![enable(unwrap_newtypes)] +#![enable(unwrap_variant_newtypes)] +( + address: "127.0.0.1:6600", + password: None, + theme: None, + cache_dir: None, + on_song_change: None, + volume_step: 5, + scrolloff: 0, + wrap_navigation: false, + enable_mouse: false, + status_update_interval_ms: 5000, + select_current_song_on_change: false, + album_art: ( + method: None, + ), + keybinds: ( + global: { + ":": CommandMode, + "s": Stop, + "": NextTab, + "1": SwitchToTab("Queue"), + "2": SwitchToTab("Artists"), + "q": Quit, + ">": NextTrack, + "p": TogglePause, + "<": PreviousTrack, + "~": ShowHelp, + "I": ShowCurrentSongInfo, + }, + navigation: { + "": Up, + "": Down, + "": Left, + "": Right, + "": PaneUp, + "": PaneDown, + "": PaneLeft, + "": PaneRight, + "": UpHalf, + "N": PreviousResult, + "a": Add, + "A": AddAll, + "n": NextResult, + "g": Top, + "": Select, + "": InvertSelection, + "G": Bottom, + "": Confirm, + "i": FocusInput, + "J": MoveDown, + "": DownHalf, + "/": EnterSearch, + "": Close, + "": Close, + "K": MoveUp, + }, + queue: { + "D": DeleteAll, + "": Play, + "i": ShowInfo, + "C": JumpToCurrent, + }, + ), + search: ( + case_sensitive: false, + mode: Contains, + tags: [ + (value: "any", label: "Any Tag"), + (value: "artist", label: "Artist"), + (value: "album", label: "Album"), + (value: "albumartist", label: "Album Artist"), + (value: "title", label: "Title"), + ], + ), + tabs: [ + ( + name: "Queue", + border_type: None, + pane: Pane(Queue), + ), + ( + name: "Artists", + border_type: None, + pane: Pane(Artists), + ), + ], +)