mirror of
https://git.sr.ht/~roxwize/.dotfiles
synced 2025-05-03 12:14:07 +00:00
~
This commit is contained in:
parent
3f01bd1608
commit
a15a59af09
7 changed files with 305 additions and 129 deletions
|
@ -2,126 +2,99 @@
|
|||
#![enable(unwrap_newtypes)]
|
||||
#![enable(unwrap_variant_newtypes)]
|
||||
(
|
||||
album_art_position: Left,
|
||||
album_art_width_percent: 40,
|
||||
default_album_art_path: None,
|
||||
show_song_table_header: true,
|
||||
draw_borders: true,
|
||||
browser_column_widths: [20, 38, 42],
|
||||
background_color: None,
|
||||
text_color: None,
|
||||
header_background_color: None,
|
||||
modal_background_color: None,
|
||||
tab_bar: (
|
||||
enabled: true,
|
||||
active_style: (fg: "black", bg: "blue", modifiers: "Bold"),
|
||||
inactive_style: (),
|
||||
),
|
||||
highlighted_item_style: (fg: "blue", modifiers: "Bold"),
|
||||
current_item_style: (fg: "black", bg: "blue", modifiers: "Bold"),
|
||||
borders_style: (fg: "blue"),
|
||||
highlight_border_style: (fg: "blue"),
|
||||
symbols: (song: " ", dir: "-", marker: ">", ellipsis: "..."),
|
||||
progress_bar: (
|
||||
symbols: ["█", "▌", " "],
|
||||
track_style: (fg: "#1e2030"),
|
||||
elapsed_style: (fg: "blue"),
|
||||
thumb_style: (fg: "blue", bg: "#1e2030"),
|
||||
),
|
||||
scrollbar: (
|
||||
symbols: ["│", "█", "▲", "▼"],
|
||||
track_style: (),
|
||||
ends_style: (),
|
||||
thumb_style: (fg: "blue"),
|
||||
),
|
||||
song_table_format: [
|
||||
(
|
||||
prop: (kind: Property(Artist),
|
||||
default: (kind: Text("Unknown"))
|
||||
),
|
||||
width: "20%",
|
||||
),
|
||||
(
|
||||
prop: (kind: Property(Title),
|
||||
default: (kind: Text("Unknown"))
|
||||
),
|
||||
width: "35%",
|
||||
),
|
||||
(
|
||||
prop: (kind: Property(Album), style: (fg: "white"),
|
||||
default: (kind: Text("Unknown Album"), style: (fg: "white"))
|
||||
),
|
||||
width: "30%",
|
||||
),
|
||||
(
|
||||
prop: (kind: Property(Duration),
|
||||
default: (kind: Text("-"))
|
||||
),
|
||||
width: "15%",
|
||||
alignment: Right,
|
||||
),
|
||||
],
|
||||
header: (
|
||||
rows: [
|
||||
(
|
||||
left: [
|
||||
(kind: Text("["), style: (fg: "yellow", modifiers: "Bold")),
|
||||
(kind: Property(Status(State)), style: (fg: "yellow", modifiers: "Bold")),
|
||||
(kind: Text("]"), style: (fg: "yellow", modifiers: "Bold"))
|
||||
],
|
||||
center: [
|
||||
(kind: Property(Song(Title)), style: (modifiers: "Bold"),
|
||||
default: (kind: Text("No Song"), style: (modifiers: "Bold"))
|
||||
)
|
||||
],
|
||||
right: [
|
||||
(kind: Property(Widget(Volume)), style: (fg: "blue"))
|
||||
]
|
||||
),
|
||||
(
|
||||
left: [
|
||||
(kind: Property(Status(Elapsed))),
|
||||
(kind: Text(" / ")),
|
||||
(kind: Property(Status(Duration))),
|
||||
(kind: Text(" (")),
|
||||
(kind: Property(Status(Bitrate))),
|
||||
(kind: Text(" kbps)"))
|
||||
],
|
||||
center: [
|
||||
(kind: Property(Song(Artist)), style: (fg: "yellow", modifiers: "Bold"),
|
||||
default: (kind: Text("Unknown"), style: (fg: "yellow", modifiers: "Bold"))
|
||||
),
|
||||
(kind: Text(" - ")),
|
||||
(kind: Property(Song(Album)),
|
||||
default: (kind: Text("Unknown Album"))
|
||||
)
|
||||
],
|
||||
right: [
|
||||
(
|
||||
kind: Property(Widget(States(
|
||||
active_style: (fg: "white", modifiers: "Bold"),
|
||||
separator_style: (fg: "white")))
|
||||
),
|
||||
style: (fg: "dark_gray")
|
||||
),
|
||||
]
|
||||
),
|
||||
],
|
||||
),
|
||||
browser_song_format: [
|
||||
(
|
||||
kind: Group([
|
||||
(kind: Property(Track)),
|
||||
(kind: Text(" ")),
|
||||
])
|
||||
),
|
||||
(
|
||||
kind: Group([
|
||||
(kind: Property(Artist)),
|
||||
(kind: Text(" - ")),
|
||||
(kind: Property(Title)),
|
||||
]),
|
||||
default: (kind: Property(Filename))
|
||||
),
|
||||
],
|
||||
album_art_position: Left,
|
||||
album_art_width_percent: 40,
|
||||
default_album_art_path: None,
|
||||
show_song_table_header: true,
|
||||
draw_borders: true,
|
||||
browser_column_widths: [20, 38, 42],
|
||||
|
||||
background_color: "#000823",
|
||||
text_color: "#656b88",
|
||||
header_background_color: "#091129",
|
||||
modal_background_color: None,
|
||||
|
||||
tab_bar: (
|
||||
enabled: true,
|
||||
active_style: (fg: "#656b88", bg: "#000823"),
|
||||
inactive_style: (),
|
||||
),
|
||||
highlighted_item_style: (fg: "#eee8d5", bg: "#141c34"),
|
||||
current_item_style: (fg: "#eee8d5", bg: "#4f4872"),
|
||||
borders_style: (fg: "#7e84a3"),
|
||||
highlight_border_style: (fg: "#7e84a3"),
|
||||
symbols: (song: " ", dir: "-", marker: ">", ellipsis: "..."),
|
||||
progress_bar: (
|
||||
symbols: ["-", ">", "-"],
|
||||
track_style: (fg: "#656b88"),
|
||||
elapsed_style: (fg: "#4f4872"),
|
||||
thumb_style: (fg: "#4f4872"),
|
||||
),
|
||||
scrollbar: (
|
||||
symbols: ["│", "█", "▲", "▼"],
|
||||
track_style: (),
|
||||
ends_style: (),
|
||||
thumb_style: (fg: "#4f4872"),
|
||||
),
|
||||
song_table_format: [
|
||||
(
|
||||
prop: (kind: Group([
|
||||
(kind: Property(Track), default: (kind: Text("--"))),
|
||||
(kind: Text(" ")),
|
||||
(kind: Property(Artist), default: (kind: Text("Unknown"))),
|
||||
(kind: Text(" - ")),
|
||||
(kind: Property(Album), default: (kind: Text("Untitled")))
|
||||
])),
|
||||
width: "30%",
|
||||
),
|
||||
(
|
||||
prop: (
|
||||
kind: Property(Title), default: (kind: Text("Untitled"))
|
||||
),
|
||||
width: "55%",
|
||||
),
|
||||
(
|
||||
prop: (kind: Property(Duration),
|
||||
default: (kind: Text("-:--"))
|
||||
),
|
||||
width: "15%",
|
||||
alignment: Right,
|
||||
),
|
||||
],
|
||||
header: (
|
||||
rows: [
|
||||
(
|
||||
left: [
|
||||
(kind: Text("[RMPC] ")),
|
||||
(kind: Property(Song(Artist))),
|
||||
(kind: Text(" - ")),
|
||||
(kind: Property(Song(Album))),
|
||||
(kind: Text(" - ")),
|
||||
(kind: Property(Song(Title)))
|
||||
],
|
||||
center: [
|
||||
(kind: Property(Status(State)))
|
||||
],
|
||||
right: [
|
||||
(kind: Property(Widget(Volume)), style: (fg: "#eee8d5"))
|
||||
]
|
||||
)
|
||||
],
|
||||
),
|
||||
browser_song_format: [
|
||||
(
|
||||
kind: Group([
|
||||
(kind: Property(Track)),
|
||||
(kind: Text(" ")),
|
||||
])
|
||||
),
|
||||
(
|
||||
kind: Group([
|
||||
(kind: Property(Artist)),
|
||||
(kind: Text(" - ")),
|
||||
(kind: Property(Title)),
|
||||
]),
|
||||
default: (kind: Property(Filename))
|
||||
),
|
||||
],
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue