rmpc: Display albums only by name

While at it, also format to match alignment for our OCD
requirements.
This commit is contained in:
Sanchayan Maity 2024-12-25 13:45:23 +05:30
parent 2f37f49b65
commit 9d7dd34877
Signed by: sanchayanmaity
GPG key ID: 6F6A0609C12038F3

View file

@ -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,
"<Tab>": NextTab,
"1": SwitchToTab("Queue"),
"2": SwitchToTab("Artists"),
"q": Quit,
">": NextTrack,
"p": TogglePause,
"<": PreviousTrack,
"~": ShowHelp,
"I": ShowCurrentSongInfo,
":" : CommandMode,
"s" : Stop,
"<Tab>" : NextTab,
"1" : SwitchToTab("Queue"),
"2" : SwitchToTab("Artists"),
"q" : Quit,
">" : NextTrack,
"p" : TogglePause,
"<" : PreviousTrack,
"~" : ShowHelp,
"I" : ShowCurrentSongInfo,
},
navigation: {
"<Up>": Up,
"<Down>": Down,
"<Left>": Left,
"<Right>": Right,
"<C-k>": PaneUp,
"<C-j>": PaneDown,
"<C-h>": PaneLeft,
"<C-l>": PaneRight,
"<C-u>": UpHalf,
"N": PreviousResult,
"a": Add,
"A": AddAll,
"n": NextResult,
"g": Top,
"<Space>": Select,
"<C-Space>": InvertSelection,
"G": Bottom,
"<CR>": Confirm,
"i": FocusInput,
"J": MoveDown,
"<C-d>": DownHalf,
"/": EnterSearch,
"<C-c>": Close,
"<Esc>": Close,
"K": MoveUp,
"<Up>" : Up,
"<Down>" : Down,
"<Left>" : Left,
"<Right>" : Right,
"<C-k>" : PaneUp,
"<C-j>" : PaneDown,
"<C-h>" : PaneLeft,
"<C-l>" : PaneRight,
"<C-u>" : UpHalf,
"N" : PreviousResult,
"a" : Add,
"A" : AddAll,
"n" : NextResult,
"g" : Top,
"<Space>" : Select,
"<C-Space>" : InvertSelection,
"G" : Bottom,
"<CR>" : Confirm,
"i" : FocusInput,
"J" : MoveDown,
"<C-d>" : DownHalf,
"/" : EnterSearch,
"<C-c>" : Close,
"<Esc>" : Close,
"K" : MoveUp,
},
queue: {
"D": DeleteAll,
"<CR>": Play,
"i": ShowInfo,
"C": JumpToCurrent,
"D" : DeleteAll,
"<CR>" : 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),
),
],
)