diff options
Diffstat (limited to 'ar/.config/rmpc/config.ron')
| -rw-r--r-- | ar/.config/rmpc/config.ron | 33 |
1 files changed, 28 insertions, 5 deletions
diff --git a/ar/.config/rmpc/config.ron b/ar/.config/rmpc/config.ron index aaed946..892c7c7 100644 --- a/ar/.config/rmpc/config.ron +++ b/ar/.config/rmpc/config.ron @@ -5,8 +5,8 @@ address: "/tmp/mpd_socket", password: None, theme: "~/.config/rmpc/themes/catppuccin-mocha.ron", - cache_dir: "~/.cache/rmpc", - lyrics_dir: "~/.local/share/lyrics", + cache_dir: Some("~/.cache/rmpc"), + lyrics_dir: Some("~/.local/share/lyrics"), on_song_change: ["~/.config/rmpc/scripts/on_song_change"], on_resize: ["~/.config/rmpc/scripts/onresize"], extra_yt_dlp_args: ["--audio-quality", "0"], @@ -44,6 +44,7 @@ "3": SwitchToTab("Albums"), "4": SwitchToTab("Library"), "5": SwitchToTab("Playlists"), + "6": SwitchToTab("Lyrics"), "F": SwitchToTab("Search"), ":": CommandMode, "<": PreviousTrack, @@ -159,7 +160,7 @@ direction: Horizontal, panes: [ ( - size: "75%", + size: "65%", pane: Split( direction: Vertical, panes: [ @@ -203,7 +204,7 @@ ) ), ( - size: "25%", + size: "35%", pane: Split( direction: Vertical, panes: [ @@ -218,7 +219,7 @@ borders: "ALL", border_symbols: Inherited(parent: Rounded, top_left: "├", top_right: "┤",), border_title: [(kind: Text(" Lyrics "))], - border_title_alignment: Right, + border_title_alignment: Center, pane: Pane(Lyrics) ), ], @@ -278,6 +279,28 @@ ) ), ( + name: "Lyrics", + borders: "ALL", + border_symbols: Rounded, + pane: Split( + direction: Vertical, + panes: [ + ( + size: "30%", + pane: Split( + direction: Horizontal, + panes: [ + (pane: Pane(Empty()), size: "43%"), + (pane: Pane(AlbumArt), size: "14%"), + (pane: Pane(Empty()), size: "43%"), + ], + ), + ), + (pane: Pane(Lyrics), size: "70%", vertical_align: Bottom), + ], + ), + ), + ( name: "Search", borders: "ALL", border_symbols: Rounded, |
