Init
This commit is contained in:
commit
367711b7a1
6 changed files with 664 additions and 0 deletions
144
rmpc/themes/nnwhen.ron
Normal file
144
rmpc/themes/nnwhen.ron
Normal file
|
@ -0,0 +1,144 @@
|
|||
#![enable(implicit_some)]
|
||||
#![enable(unwrap_newtypes)]
|
||||
#![enable(unwrap_variant_newtypes)]
|
||||
(
|
||||
default_album_art_path: None,
|
||||
show_song_table_header: true,
|
||||
draw_borders: false,
|
||||
browser_column_widths: [20, 38, 42],
|
||||
background_color: Some("#181a1b"),
|
||||
text_color: Some("#ffffff"),
|
||||
header_background_color: None,
|
||||
modal_background_color: None,
|
||||
tab_bar: (
|
||||
enabled: true,
|
||||
active_style: (fg: "#181a1b", bg: "#cebeb3", modifiers: "Bold"),
|
||||
inactive_style: (),
|
||||
),
|
||||
highlighted_item_style: (fg: "#ce7961", modifiers: "Bold"),
|
||||
current_item_style: (fg: "#181a1b", bg: "#e3beb3", modifiers: "Bold"),
|
||||
borders_style: (fg: "#ce7961"),
|
||||
highlight_border_style: (fg: "#e3beb3"),
|
||||
symbols: (song: "S", dir: "D", marker: "M", ellipsis: "..."),
|
||||
progress_bar: (
|
||||
symbols: [" ", " ", " "],
|
||||
track_style: (fg: "#1e2030"),
|
||||
elapsed_style: (fg: "#ce7961", bg: "#ce7961"),
|
||||
thumb_style: (fg: "#ce7961", bg: "#ce7961"),
|
||||
),
|
||||
scrollbar: (
|
||||
symbols: [" ", "█", "▲", "▼"],
|
||||
track_style: (),
|
||||
ends_style: (),
|
||||
thumb_style: (fg: "#ce7961"),
|
||||
),
|
||||
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: "#f1d4cf"),
|
||||
default: (kind: Text("Unknown Album"), style: (fg: "#f1d4cf"))
|
||||
),
|
||||
width: "30%",
|
||||
),
|
||||
(
|
||||
prop: (kind: Property(Duration),
|
||||
default: (kind: Text("-"))
|
||||
),
|
||||
width: "15%",
|
||||
alignment: Right,
|
||||
),
|
||||
],
|
||||
layout: Split(
|
||||
direction: Vertical,
|
||||
panes: [
|
||||
(
|
||||
pane: Pane(Header),
|
||||
size: "2",
|
||||
),
|
||||
(
|
||||
pane: Pane(Tabs),
|
||||
size: "3",
|
||||
),
|
||||
(
|
||||
pane: Pane(TabContent),
|
||||
size: "100%",
|
||||
),
|
||||
(
|
||||
pane: Pane(ProgressBar),
|
||||
size: "1",
|
||||
),
|
||||
],
|
||||
),
|
||||
header: (
|
||||
rows: [
|
||||
(
|
||||
left: [
|
||||
(kind: Text("["), style: (fg: "#ce7961", modifiers: "Bold")),
|
||||
(kind: Property(Status(StateV2(playing_label: "Playing", paused_label: "Paused", stopped_label: "Stopped"))), style: (fg: "#ce7961", modifiers: "Bold")),
|
||||
(kind: Text("]"), style: (fg: "#ce7961", 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: "#ce7961"))
|
||||
]
|
||||
),
|
||||
(
|
||||
left: [
|
||||
(kind: Property(Status(Elapsed))),
|
||||
(kind: Text(" / ")),
|
||||
(kind: Property(Status(Duration))),
|
||||
],
|
||||
center: [
|
||||
(kind: Property(Song(Artist)), style: (fg: "#ce7961", modifiers: "Bold"),
|
||||
default: (kind: Text("Unknown"), style: (fg: "#ce7961", modifiers: "Bold"))
|
||||
),
|
||||
(kind: Text(" - ")),
|
||||
(kind: Property(Song(Album)),
|
||||
default: (kind: Text("Unknown Album"))
|
||||
)
|
||||
],
|
||||
right: [
|
||||
(
|
||||
kind: Property(Widget(States(
|
||||
active_style: (fg: "#f1d4cf", modifiers: "Bold"),
|
||||
separator_style: (fg: "#f1d4cf")))
|
||||
),
|
||||
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))
|
||||
),
|
||||
],
|
||||
)
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue