#![enable(implicit_some)] #![enable(unwrap_newtypes)] #![enable(unwrap_variant_newtypes)] ( address: "127.0.0.1:6600", cache_dir: Some("/tmp/rmpc/cache"), lyrics_dir: Some("~/Музыка/mpd"), password: None, theme: "gruvbox", on_song_change: ["/usr/bin/python3", "/home/crud/.config/rmpc/notify.py"], volume_step: 5, max_fps: 30, scrolloff: 0, wrap_navigation: false, enable_mouse: true, status_update_interval_ms: 1000, select_current_song_on_change: false, browser_column_widths: [20, 38, 42], album_art: ( method: Auto, max_size_px: (width: 900, height: 900), disabled_protocols: ["http://", "https://"], vertical_align: Top, horizontal_align: Center, ), keybinds: ( global: { ":": CommandMode, ",": VolumeDown, "s": Stop, ".": VolumeUp, "": NextTab, "": PreviousTab, "1": SwitchToTab("Queue"), "2": SwitchToTab("Artists"), "3": SwitchToTab("Albums"), "4": SwitchToTab("Search"), "5": SwitchToTab("Directories"), "6": SwitchToTab("Lyrics"), "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: "title", label: "Title"), (value: "filename", label: "Filename"), (value: "genre", label: "Genre"), (value: "albumartist", label: "Featured"), ], ), artists: ( album_display_mode: SplitByDate, album_sort_by: Date, ), tabs: [ ( name: "Queue", pane: Split( direction: Horizontal, panes: [(size: "20%", pane: Pane(AlbumArt)), (size: "80%", pane: Pane(Queue))], ), ), ( name: "Artists", pane: Pane(Artists), ), ( name: "Albums", pane: Pane(Albums), ), ( name: "Search", pane: Pane(Search), ), ( name: "Directories", pane: Pane(Directories), ), ( name: "Lyrics", pane: Split( direction: Vertical, panes: [(size: "25%", pane: Pane(AlbumArt)), (size: "70%", pane: Pane(Lyrics), vertical_align: Bottom)], ), ), ], )