aboutsummaryrefslogtreecommitdiff
path: root/.config/rmpc/themes/def.ron
blob: c4baa2704f69b3356e69d3b0168f8f6fae5942cc (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
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
#![enable(implicit_some)]
#![enable(unwrap_newtypes)]
#![enable(unwrap_variant_newtypes)]
(
  draw_borders: false,
  show_song_table_header: true,
  background_color: None,
  default_album_art_path: None,
  header_background_color: None,
  modal_background_color: None,
  modal_backdrop: true,
  text_color: None,
  layout: Split(
    direction: Vertical,
    panes: [
      (
        size: "4",
        borders: "ALL",
        pane: Split(
          direction: Vertical,
          panes: [
            (
              size: "1",
              direction: Vertical,
              pane: Split(
                direction: Horizontal,
                panes: [
                  (
                    size: "23",
                    pane: Pane(Property(
                      content: [
                        (kind: Text("["), style: (fg: "yellow", modifiers: "Bold")),
                        (kind: Property(Status(StateV2())), style: (fg: "yellow", modifiers: "Bold")),
                        (kind: Text("]"), style: (fg: "yellow", modifiers: "Bold")),
                      ], align: Left,
                    )),
                  ),
                  (
                    size: "100%",
                    borders: "LEFT | RIGHT",
                    pane: Pane(Property(
                      content: [
                        (kind: Property(Song(Filename)), style: (modifiers: "Bold"),
                        default: (kind: Text("No Song"), style: (modifiers: "Bold")))
                      ], align: Center, scroll_speed: 1
                    )),
                  ),
                  (
                    size: "23",
                    pane: Pane(Property(
                      content: [
                        (kind: Property(Widget(Volume)), style: (fg: "blue", modifiers: "Bold"))
                      ], align: Right
                    )),
                  ),
                ],
              ),
            ),
            (
              size: "1",
              direction: Vertical,
              pane: Split(
                direction: Horizontal,
                panes: [
                  (
                    size: "23",
                    pane: Pane(Property(
                      content: [
                        (kind: Property(Status(Elapsed))),
                        (kind: Text(" / ")),
                        (kind: Property(Status(Duration))),
                        (kind: Group([
                          (kind: Text(" (")),
                          (kind: Property(Status(Bitrate))),
                          (kind: Text(" kbps)")),
                        ])),
                      ], align: Left,
                    )),
                  ),
                  (
                    size: "100%",
                    borders: "LEFT | RIGHT",
                    pane: Pane(Property(
                      content: [
                        (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")))
                      ], align: Center, scroll_speed: 2
                    )),
                  ),
                  (
                    size: "23",
                    pane: Pane(Property(content: [
                      (kind: Property(Status(RepeatV2(
                        on_label: " ",
                        off_label: " ",
                        on_style: (fg: "yellow", modifiers: "Bold"),
                        off_style: (fg: "blue", modifiers: "Dim"),
                      )))),
                      (kind: Property(Status(RandomV2(
                        on_label: " ",
                        off_label: " ",
                        on_style: (fg: "yellow", modifiers: "Bold"),
                        off_style: (fg: "blue", modifiers: "Dim"),
                      )))),
                      (kind: Property(Status(SingleV2(
                        on_label: "󰑘 ",
                        off_label: "󰑘 ",
                        oneshot_label: "󰑘 ",
                        on_style: (fg: "yellow", modifiers: "Bold"),
                        off_style: (fg: "blue", modifiers: "Dim"),
                        oneshot_style: (fg: "red", modifiers: "Bold"),
                      )))),
                      (kind: Property(Status(ConsumeV2(
                        on_label: " ",
                        off_label: " ",
                        oneshot_label: "",
                        on_style: (fg: "yellow", modifiers: "Bold"),
                        off_style: (fg: "blue", modifiers: "Dim"),
                        oneshot_style: (fg: "red", modifiers: "Dim"),
                      )))),
                    ], align: Right)),
                  ),
                ],
              ),
            ),
          ]
        )
      ),
      (
        size: "3",
        borders: "ALL",
        pane: Pane(Tabs),
      ),
      (
        size: "100%",
        borders: "ALL",
        background_color: "red",
        pane: Pane(TabContent),
      ),
      (
        size: "3",
        borders: "ALL",
        pane: Split(
          direction: Horizontal,
          panes: [
            (
              pane: Pane(Property(content: [(kind: Property(Status(StateV2(playing_label: "  ", paused_label: "  ", stopped_label: "  ",
                playing_style: (fg: "blue"), paused_style: (fg: "green"), stopped_style: (fg: "red")
                ))))], align: Left)),
              size: "3",
            ),
            (
              size: "100%",
              pane: Pane(ProgressBar),
            ),
            (
              size: "13",
              pane: Pane(Property(
                content: [
                  (kind: Property(Status(Elapsed))),
                  (kind: Text(" / ")),
                  (kind: Property(Status(Duration))),
                ], align: Right,
              )),
            ),
          ]
        ),
      ),
    ]
  ),
  symbols: (
    song: "",
    dir: "",
    marker: "\u{e0b0}",
    ellipsis: "…"
  ),
  progress_bar: (
    symbols: ["█", "\u{e0b0}", "█"],
    track_style: (fg: "#1e2030"),
    elapsed_style: (fg: "blue"),
    thumb_style: (fg: "blue", bg: "#1e2030"),
  ),
  scrollbar: (
    symbols: ["│", "█", "▲", "▼"],
    track_style: (),
    ends_style: (),
    thumb_style: (fg: "blue"),
  ),
  browser_column_widths: [20, 38, 42],
  browser_song_format: [
    (
      kind: Group([
        (kind: Property(Track)),
        (kind: Text(" ")),
      ])
    ),
    (
      kind: Group([
        (kind: Property(Artist)),
        (kind: Text(" - ")),
        (kind: Property(Title)),
      ]),
      default: (kind: Property(Filename))
    ),
  ],
  tab_bar: (
    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", modifiers: "Bold"),
  highlight_border_style: (fg: "red"),
  song_table_format: [
    (
      prop: (kind: Property(Other("albumartist")), default: (kind: Property(Artist), default: (kind: Text("Unknown")))),
      width: "20%",
      label: "Artist"
    ),
    (
      prop: (kind: Property(Title), default: (kind: Text("Unknown"))),
      width: "35%",
    ),
    (
      prop: (kind: Property(Album), default: (kind: Text("Unknown Album"))),
      width: "45%",
    ),
    (
      prop: (kind: Property(Duration),default: (kind: Text("-"))),
      width: "5",
      alignment: Right,
      label: "Len"
    ),
  ],
  header: (rows: []),
)