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)]
(
default_album_art_path: "/home/greg/Pictures/Fetch/atheism_paint.png",
show_song_table_header: true,
show_song_table_header: false,
draw_borders: true,
format_tag_separator: " | ",
browser_column_widths: [20, 38, 42],
@@ -29,7 +29,7 @@
playlist: "󰲸",
marker: "󰄳",
ellipsis: "...",
song_style: (fg: "white", modifiers: None),
song_style: (fg: "cyan", modifiers: None),
dir_style: (fg: "yellow"),
playlist_style: (fg: "magenta"),
),
@@ -82,12 +82,12 @@
direction: Vertical,
panes: [
(
size: "3",
size: "4",
pane: Split(
direction: Horizontal,
panes: [
(
size: "7",
size: "10",
pane: Pane(AlbumArt),
),
(
@@ -99,12 +99,33 @@
size: "5",
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",
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")),
],
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: [
(kind: Property(Widget(ScanStatus)), style: (fg: "blue")),
@@ -138,9 +160,6 @@
(kind: Property(Status(Duration))),
],
center: [
(kind: Property(Song(Artist)), style: (fg: "yellow", modifiers: "Bold"),
default: (kind: Text(""), style: (fg: "yellow", modifiers: "Bold"))
),
],
right: [
(kind: Text("[ ")),