aboutsummaryrefslogtreecommitdiff
path: root/.config/rmpc/themes/prismite.ron
blob: 88fbc4bb80cb69c72ef5509f4fee6a6ac8b00f7c (plain)
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
#![enable(implicit_some)]
#![enable(unwrap_newtypes)]
#![enable(unwrap_variant_newtypes)]
(
    default_album_art_path: None,
    show_song_table_header: true,
    draw_borders: true,
    format_tag_separator: " | ",
    browser_column_widths: [20, 38, 42],
    background_color: None,
    text_color: None,
    header_background_color: None,
    modal_background_color: None,
    modal_backdrop: false,
    preview_label_style: (fg: "yellow"),
    preview_metadata_group_style: (fg: "yellow", modifiers: "Bold"),
    tab_bar: (
        enabled: true,
        active_style: (fg: "#12161c", bg: "yellow", modifiers: "Bold"),
        inactive_style: (),
    ),
    highlighted_item_style: (fg: "yellow", modifiers: "Bold"),
    current_item_style: (fg: "gray", bg: "#171c22"),
    borders_style: (fg: "#323b46"),
    highlight_border_style: (fg: "#323b46"),
    symbols: (
        song: "",
        dir: "󰉋",
        playlist: "󱍙",
        marker: "+",
        ellipsis: "...",
        song_style: None,
        dir_style: None,
        playlist_style: None,
    ),
    level_styles: (
        info: (fg: "yellow"),
        warn: (fg: "#ff9f6f"),
        error: (fg: "red"),
        debug: (fg: "light_green"),
        trace: (fg: "magenta"),
    ),
    progress_bar: (
        symbols: ["<", "=", ">", "=", ">"],
        track_style: (fg: "#070c11"),
        elapsed_style: (fg: "yellow"),
        thumb_style: (fg: "yellow"),
    ),
    scrollbar: (
        symbols: ["│", "┃", "∧", "∨"],
        track_style: (fg: "#070c11"),
        ends_style: (fg: "#a8afb7"),
        thumb_style: (fg: "yellow"),
    ),
    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: "gray"),
                default: (kind: Text("Unknown Album"), style: (fg: "gray"))
            ),
            width: "30%",
        ),
        (
            prop: (kind: Property(Duration),
                default: (kind: Text("-"))
            ),
            width: "15%",
            alignment: Right,
        ),
    ],
    components: {},
    layout: Split(
        direction: Vertical,
        panes: [
            (
                pane: Pane(Header),
                size: "1",
            ),
            (
                pane: Pane(Tabs),
                size: "3",
            ),
            (
                pane: Pane(TabContent),
                size: "100%",
            ),
            (
                pane: Split(
                    direction: Horizontal,
                    panes: [
                        (
                            pane: Pane(
                                Property(content: [
                                    (kind: Property(
                                        Status(
                                            StateV2(
                                                playing_label: "",
                                                paused_label: "",
                                                stopped_label: ""
                                            )
                                        )
                                    ))
                                ])
                            ),
                            size: "3"
                        ),
                        (
                            pane: Pane(
                                Property(content: [
                                    (kind: Property(Status(Elapsed))),
                                    (kind: Text(" / ")),
                                    (kind: Property(Status(Duration))),
                                    (kind: Text(" (")),
                                    (kind: Property(Status(Bitrate))),
                                    (kind: Text(" kbps)"))
                                ])
                            ),
                            size: "20%",
                        ),
                        (
                            pane: Pane(ProgressBar),
                            size: "100%"
                        ),
                    ]
                ),
                size: "2",
                borders: "TOP"
            ),
        ],
    ),
    header: (
        rows: [
            (
                left: [
                    (kind: Property(Widget(ScanStatus))),
                    (kind: Property(Widget(Volume))),
                ],
                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"))
                    ),
                    (kind: Text(" | ")),
                    (kind: Property(Song(Title)), style: (modifiers: "Bold"),
                        default: (kind: Text("No Song"), style: (modifiers: "Bold"))
                    )
                ],
                right: [
                    (kind: Text("[ ")),
                    (
                        kind: Property(Widget(States(
                            active_style: (fg: "yellow", modifiers: "Bold"),
                            separator_style: (fg: "gray")))
                        ),
                        style: (fg: "gray")
                    ),
                    (kind: Text(" ]")),
                ]
            ),
        ],
    ),
    browser_song_format: [
        (
            kind: Group([
                (kind: Property(Track)),
                (kind: Text(" ")),
            ])
        ),
        (
            kind: Group([
                (kind: Property(Artist)),
                (kind: Text(" - ")),
                (kind: Property(Title)),
            ]),
            default: (kind: Property(Filename))
        ),
    ],
    lyrics: (
        timestamp: false
    )
)