From 9d7dd34877526afbe150418d7bfd2cd0317967ab Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Wed, 25 Dec 2024 13:45:23 +0530 Subject: [PATCH] rmpc: Display albums only by name While at it, also format to match alignment for our OCD requirements. --- rmpc/.config/rmpc/config.ron | 116 ++++++++++++++++++----------------- 1 file changed, 59 insertions(+), 57 deletions(-) diff --git a/rmpc/.config/rmpc/config.ron b/rmpc/.config/rmpc/config.ron index 365b0f3..3ed457a 100644 --- a/rmpc/.config/rmpc/config.ron +++ b/rmpc/.config/rmpc/config.ron @@ -2,66 +2,68 @@ #![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, + 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, ), + artists: ( + album_display_mode : NameOnly, + album_sort_by : Date, + ), keybinds: ( global: { - ":": CommandMode, - "s": Stop, - "": NextTab, - "1": SwitchToTab("Queue"), - "2": SwitchToTab("Artists"), - "q": Quit, - ">": NextTrack, - "p": TogglePause, - "<": PreviousTrack, - "~": ShowHelp, - "I": ShowCurrentSongInfo, + ":" : 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, + "" : 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, + "D" : DeleteAll, + "" : Play, + "i" : ShowInfo, + "C" : JumpToCurrent, }, ), search: ( @@ -77,14 +79,14 @@ ), tabs: [ ( - name: "Queue", - border_type: None, - pane: Pane(Queue), + name : "Queue", + border_type : None, + pane : Pane(Queue), ), ( - name: "Artists", - border_type: None, - pane: Pane(Artists), + name : "Artists", + border_type : None, + pane : Pane(Artists), ), ], )