From 4612b5e3772ced0f1c3d77c425ab6f5fb4c93296 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Sat, 21 Feb 2026 21:15:27 +0900 Subject: modified rmpc/config.ron, modified scripts/on_song_change, modified scripts/onresize --- ar/.config/rmpc/config.ron | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) (limited to 'ar/.config/rmpc/config.ron') diff --git a/ar/.config/rmpc/config.ron b/ar/.config/rmpc/config.ron index aaed946..733baab 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) ), ], @@ -277,6 +278,15 @@ panes: [(pane: Pane(Playlists), size: "100%", borders: "ALL", border_symbols: Rounded)], ) ), + ( + name: "Lyrics", + borders: "ALL", + border_symbols: Rounded, + pane: Split( + direction: Vertical, + panes: [(size: "25%", pane: Pane(AlbumArt)), (size: "70%", pane: Pane(Lyrics), vertical_align: Bottom)], + ), + ), ( name: "Search", borders: "ALL", -- cgit v1.2.3