feat: i really like rmpc now

This commit is contained in:
2025-09-26 10:00:39 +03:00
parent 7995045c9d
commit efc8382c17

View File

@@ -3,7 +3,7 @@
#![enable(unwrap_variant_newtypes)] #![enable(unwrap_variant_newtypes)]
( (
default_album_art_path: "/home/greg/Pictures/Fetch/atheism_paint.png", default_album_art_path: "/home/greg/Pictures/Fetch/atheism_paint.png",
show_song_table_header: true, show_song_table_header: false,
draw_borders: true, draw_borders: true,
format_tag_separator: " | ", format_tag_separator: " | ",
browser_column_widths: [20, 38, 42], browser_column_widths: [20, 38, 42],
@@ -29,7 +29,7 @@
playlist: "󰲸", playlist: "󰲸",
marker: "󰄳", marker: "󰄳",
ellipsis: "...", ellipsis: "...",
song_style: (fg: "white", modifiers: None), song_style: (fg: "cyan", modifiers: None),
dir_style: (fg: "yellow"), dir_style: (fg: "yellow"),
playlist_style: (fg: "magenta"), playlist_style: (fg: "magenta"),
), ),
@@ -82,12 +82,12 @@
direction: Vertical, direction: Vertical,
panes: [ panes: [
( (
size: "3", size: "4",
pane: Split( pane: Split(
direction: Horizontal, direction: Horizontal,
panes: [ panes: [
( (
size: "7", size: "10",
pane: Pane(AlbumArt), pane: Pane(AlbumArt),
), ),
( (
@@ -99,12 +99,33 @@
size: "5", size: "5",
pane: Pane(Header), pane: Pane(Header),
), ),
(
size: "1",
pane: Pane(Property(content: [
(
kind: Property(Song(Artist)), style: (fg: "green", modifiers: "Bold"),
default: (kind: Text("󰎇"), style: (modifiers: "Bold")),
),
(
kind: Text(" - "), style: (modifiers: "Bold"),
),
(
kind: Property(Song(Title)), style: (fg: "green", modifiers: "Bold"),
default: (
kind: Property(Song(Filename)), style: (modifiers: "Bold"),
default: (
kind: Text("<silence>"), style: (modifiers: "Bold"),
)
),
),
])),
),
( (
size: "1", size: "1",
pane: Pane(ProgressBar), pane: Pane(ProgressBar),
), ),
] ],
) ),
), ),
] ]
), ),
@@ -122,9 +143,10 @@
(kind: Property(Status(StateV2(playing_label: "  Playing", paused_label: "  Paused", stopped_label: "  Stopped"))), style: (fg: "yellow", modifiers: "Bold")), (kind: Property(Status(StateV2(playing_label: "  Playing", paused_label: "  Paused", stopped_label: "  Stopped"))), style: (fg: "yellow", modifiers: "Bold")),
], ],
center: [ center: [
(kind: Property(Song(Title)), style: (modifiers: "Bold"), (
default: (kind: Property(Song(Filename)), style: (modifiers: "Bold")) kind: Property(Song(Album)), style: (fg: "yellow", modifiers: "Bold"),
) default: (kind: Text(""), style: (modifiers: "Bold")),
),
], ],
right: [ right: [
(kind: Property(Widget(ScanStatus)), style: (fg: "blue")), (kind: Property(Widget(ScanStatus)), style: (fg: "blue")),
@@ -138,9 +160,6 @@
(kind: Property(Status(Duration))), (kind: Property(Status(Duration))),
], ],
center: [ center: [
(kind: Property(Song(Artist)), style: (fg: "yellow", modifiers: "Bold"),
default: (kind: Text(""), style: (fg: "yellow", modifiers: "Bold"))
),
], ],
right: [ right: [
(kind: Text("[ ")), (kind: Text("[ ")),