#![enable(implicit_some)] #![enable(unwrap_newtypes)] #![enable(unwrap_variant_newtypes)] ( address: "127.0.0.1:6600", volume_step: 5, scrolloff: 2, max_fps: 60, wrap_navigation: true, theme: "def", lyrics_dir: "/mnt/ssd/music", on_song_change: ["~/.config/rmpc/scripts/statusbar"], on_resize: None, status_update_interval_ms: 1000, enable_mouse: true, enable_config_hot_reload: true, album_art: ( method: Auto, max_size_px: (width: 0, height: 0), vertical_align: Top, horizontal_align: Center, ), keybinds: ( global: { ":": CommandMode, ",": VolumeDown, "s": Stop, ".": VolumeUp, "": NextTab, "": PreviousTab, "1": SwitchToTab("Queue"), "2": SwitchToTab("Directories"), "3": SwitchToTab("Artists"), "4": SwitchToTab("Albums"), "5": SwitchToTab("Playlists"), "6": SwitchToTab("Search"), "q": Quit, ">": NextTrack, "p": TogglePause, "<": PreviousTrack, "f": SeekForward, "z": ToggleRepeat, "x": ToggleRandom, "c": ToggleConsume, "v": ToggleSingle, "b": SeekBack, "~": ShowHelp, "I": ShowCurrentSongInfo, "O": ShowOutputs, "P": ShowDecoders, }, navigation: { "k": Up, "j": Down, "h": Left, "l": Right, "": Up, "": Down, "": Left, "": Right, "": PaneUp, "": PaneDown, "": PaneLeft, "": PaneRight, "": UpHalf, "N": PreviousResult, "a": Add, "A": AddAll, "r": Rename, "n": NextResult, "g": Top, "": Select, "": InvertSelection, "G": Bottom, "": Confirm, "i": FocusInput, "J": MoveDown, "": DownHalf, "/": EnterSearch, "": Close, "": Close, "K": MoveUp, "D": Delete, }, queue: { "D": DeleteAll, "": Play, "": Save, "a": AddToPlaylist, "d": Delete, "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", pane: Split( direction: Vertical, panes: [ ( size: "100%", borders: "NONE", pane: Split( borders: "NONE", direction: Horizontal, panes: [ ( size: "70%", borders: "ALL", pane: Pane(Queue), ), ( size: "30%", borders: "ALL", pane: Split( direction: Vertical, panes: [ ( size: "75%", borders: "NONE", pane: Pane(AlbumArt), ), ( size: "35%", borders: "NONE", pane: Split( direction: Vertical, panes: [ ( size: "100%", pane: Pane(Lyrics), ), ] ), ), ] ), ), ] ), ), ], ), ), ( name: "Directories", pane: Split( direction: Horizontal, panes: [(size: "100%", borders: "ALL", pane: Pane(Directories))], ), ), ( name: "Artists", pane: Split( direction: Horizontal, panes: [(size: "100%", borders: "ALL", pane: Pane(Artists))], ), ), ( name: "Albums", pane: Split( direction: Horizontal, panes: [(size: "100%", borders: "ALL", pane: Pane(Albums))], ), ), ( name: "Playlists", pane: Split( direction: Horizontal, panes: [(size: "100%", borders: "ALL", pane: Pane(Playlists))], ), ), ( name: "Search", pane: Split( direction: Horizontal, panes: [(size: "100%", borders: "ALL", pane: Pane(Search))], ), ), ], )