refactor: rmpc
This commit is contained in:
@@ -8,11 +8,12 @@
|
|||||||
on_song_change: None,
|
on_song_change: None,
|
||||||
volume_step: 5,
|
volume_step: 5,
|
||||||
max_fps: 30,
|
max_fps: 30,
|
||||||
scrolloff: 0,
|
scrolloff: 100,
|
||||||
wrap_navigation: false,
|
wrap_navigation: true,
|
||||||
enable_mouse: true,
|
enable_mouse: true,
|
||||||
status_update_interval_ms: 1000,
|
status_update_interval_ms: 1000,
|
||||||
select_current_song_on_change: false,
|
select_current_song_on_change: false,
|
||||||
|
directories_sort: ModifiedTime(reverse: true, group_by_type: true),
|
||||||
album_art: (
|
album_art: (
|
||||||
method: Auto,
|
method: Auto,
|
||||||
max_size_px: (width: 1200, height: 1200),
|
max_size_px: (width: 1200, height: 1200),
|
||||||
@@ -28,11 +29,12 @@
|
|||||||
".": VolumeUp,
|
".": VolumeUp,
|
||||||
"<Tab>": NextTab,
|
"<Tab>": NextTab,
|
||||||
"<S-Tab>": PreviousTab,
|
"<S-Tab>": PreviousTab,
|
||||||
"1": SwitchToTab("Queue"),
|
"1": SwitchToTab(" Queue"),
|
||||||
"2": SwitchToTab("Dirs"),
|
"2": SwitchToTab(" Dirs"),
|
||||||
"3": SwitchToTab("Artists"),
|
"3": SwitchToTab(" Artists"),
|
||||||
"4": SwitchToTab("Albums"),
|
"4": SwitchToTab(" Albums"),
|
||||||
"5": SwitchToTab("Playlists"),
|
"5": SwitchToTab(" Lists"),
|
||||||
|
"6": SwitchToTab(" Search"),
|
||||||
"q": Quit,
|
"q": Quit,
|
||||||
">": NextTrack,
|
">": NextTrack,
|
||||||
"p": TogglePause,
|
"p": TogglePause,
|
||||||
@@ -113,7 +115,7 @@
|
|||||||
),
|
),
|
||||||
tabs: [
|
tabs: [
|
||||||
(
|
(
|
||||||
name: "Queue",
|
name: " Queue",
|
||||||
pane: Split(
|
pane: Split(
|
||||||
direction: Vertical,
|
direction: Vertical,
|
||||||
panes: [
|
panes: [
|
||||||
@@ -123,21 +125,25 @@
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
(
|
(
|
||||||
name: "Dirs",
|
name: " Dirs",
|
||||||
pane: Pane(Directories),
|
pane: Pane(Directories),
|
||||||
),
|
),
|
||||||
(
|
(
|
||||||
name: "Artists",
|
name: " Artists",
|
||||||
pane: Pane(Artists),
|
pane: Pane(Artists),
|
||||||
),
|
),
|
||||||
(
|
(
|
||||||
name: "Albums",
|
name: " Albums",
|
||||||
pane: Pane(Albums),
|
pane: Pane(Albums),
|
||||||
),
|
),
|
||||||
(
|
(
|
||||||
name: "Playlists",
|
name: " Lists",
|
||||||
pane: Pane(Playlists),
|
pane: Pane(Playlists),
|
||||||
),
|
),
|
||||||
|
(
|
||||||
|
name: " Search",
|
||||||
|
pane: Pane(Search),
|
||||||
|
),
|
||||||
],
|
],
|
||||||
cava: (
|
cava: (
|
||||||
framerate: 30, // default 60
|
framerate: 30, // default 60
|
||||||
|
|||||||
Reference in New Issue
Block a user