summaryrefslogtreecommitdiffstats
path: root/rmpc-theme.nix
blob: 396d5358ffb08af70e06d658a1e01ebaa4e63414 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
  ".config/rmpc/themes/theme.ron".text = ''
    		#![enable(implicit_some)]
    		#![enable(unwrap_newtypes)]
    		#![enable(unwrap_variant_newtypes)]
    		(
    		    default_album_art_path: None,
    		    draw_borders: false,
    		    show_song_table_header: false,
    		    symbols: (song: "🎵", dir: "📁", playlist: "🎼", marker: "\u{e0b0}"),
    		    layout: Split(
    			direction: Vertical,
    			panes: [
    			    (
    				pane: Pane(Header),
    				size: "1",
    			    ),
    			    (
    				pane: Pane(TabContent),
    				size: "100%",
    			    ),
    			    (
    				pane: Pane(ProgressBar),
    				size: "1",
    			    ),
    			],
    		    ),
    		    progress_bar: (
    			symbols: ["", "", "⭘", " ", " "],
    			track_style: (bg: "#1e2030"),
    			elapsed_style: (fg: "#c6a0f6", bg: "#1e2030"),
    			thumb_style: (fg: "#c6a0f6", bg: "#1e2030"),
    		    ),
    		    scrollbar: (
    			symbols: ["│", "█", "▲", "▼"],
    			track_style: (),
    			ends_style: (),
    			thumb_style: (fg: "#b7bdf8"),
    		    ),
    		    browser_column_widths: [20, 38, 42],
    		    text_color: "#cad3f5",
    		    background_color: "#24273a",
    		    header_background_color: "#1e2030",
    		    modal_background_color: None,
    		    modal_backdrop: false,
    		    tab_bar: (active_style: (fg: "black", bg: "#c6a0f6", modifiers: "Bold"), inactive_style: ()),
    		    borders_style: (fg: "#6e738d"),
    		    highlighted_item_style: (fg: "#c6a0f6", modifiers: "Bold"),
    		    current_item_style: (fg: "black", bg: "#b7bdf8", modifiers: "Bold"),
    		    highlight_border_style: (fg: "#b7bdf8"),
    		    song_table_format: [
    			(
    			    prop: (kind: Property(Artist), style: (fg: "#b7bdf8"), default: (kind: Text("Unknown"))),
    			    width: "50%",
    			    alignment: Right,
    			),
    			(
    			    prop: (kind: Text("-"), style: (fg: "#b7bdf8"), default: (kind: Text("Unknown"))),
    			    width: "1",
    			    alignment: Center,
    			),
    			(
    			    prop: (kind: Property(Title), style: (fg: "#7dc4e4"), default: (kind: Text("Unknown"))),
    			    width: "50%",
    			),
    		    ],
    		    header: (
    			rows: [
    			    (
    				left: [
    				    (kind: Text("["), style: (fg: "#b7bdf8", modifiers: "Bold")),
    				    (kind: Property(Status(State)), style: (fg: "#b7bdf8", modifiers: "Bold")),
    				    (kind: Text("]"), style: (fg: "#b7bdf8", modifiers: "Bold"))
    				],
    				center: [
    				    (kind: Property(Song(Artist)), style: (fg: "#eed49f", modifiers: "Bold"),
    					default: (kind: Text("Unknown"), style: (fg: "#eed49f", modifiers: "Bold"))
    				    ),
    				    (kind: Text(" - ")),
    				    (kind: Property(Song(Title)), style: (fg: "#7dc4e4", modifiers: "Bold"),
    					default: (kind: Text("No Song"), style: (fg: "#7dc4e4", modifiers: "Bold"))
    				    )
    				],
    				right: [
    				    (kind: Text("Vol: "), style: (fg: "#b7bdf8", modifiers: "Bold")),
    				    (kind: Property(Status(Volume)), style: (fg: "#b7bdf8", modifiers: "Bold")),
    				    (kind: Text("% "), style: (fg: "#b7bdf8", modifiers: "Bold"))
    				]
    			    )
    			],
    		    ),
    		)	
    	'';

}