+/config

my dotfiles and nix configuration

git clone https://git.julia.blue/+/config

Julia RyanGLaDOS music setupd830b54

main
4.8 KiB137 linesraw
1#![enable(implicit_some, unwrap_newtypes, unwrap_variant_newtypes)]
2(
3    default_album_art_path: None,
4    draw_borders: false,
5    show_song_table_header: false,
6    symbols: (song: "", dir: "", playlist: "󰲸", marker: "\u{e0b0}", ellipsis: "…"),
7    layout: Split(
8        direction: Vertical,
9        panes: [
10            (
11                size: "8",
12                pane: Split(
13                    direction: Horizontal,
14                    panes: [
15                        (
16                            size: "21",
17                            pane: Pane(AlbumArt),
18                        ),
19                        (
20                            size: "100%",
21                            pane: Split(
22                                direction: Vertical,
23                                panes: [
24                                    ( size: "6", pane: Pane(Header), ),
25                                    ( size: "1", pane: Pane(ProgressBar), ),
26                                    ( size: "3", pane: Pane(Tabs), ),
27                                ]
28                            )
29                        ),
30                    ]
31                ),
32            ),
33            (
34                size: "100%",
35                pane: Pane(TabContent),
36            ),
37        ],
38    ),
39    progress_bar: (
40        symbols: ["█", "", " "],
41        track_style: (bg: "#1e2030"),
42        elapsed_style: (fg: "#c6a0f6", bg: "#1e2030"),
43        thumb_style: (fg: "#c6a0f6", bg: "#1e2030"),
44    ),
45    scrollbar: (
46        symbols: ["│", "█", "▲", "▼"],
47        track_style: (),
48        ends_style: (),
49        thumb_style: (fg: "#b7bdf8"),
50    ),
51    browser_column_widths: [20, 38, 42],
52    text_color: "#cad3f5",
53    background_color: "#24273a",
54    header_background_color: "#1e2030",
55    modal_background_color: None,
56    modal_backdrop: false,
57    tab_bar: (active_style: (fg: "black", bg: "#c6a0f6", modifiers: "Bold"), inactive_style: ()),
58    borders_style: (fg: "#6e738d"),
59    highlighted_item_style: (fg: "#c6a0f6", modifiers: "Bold"),
60    current_item_style: (fg: "black", bg: "#b7bdf8", modifiers: "Bold"),
61    highlight_border_style: (fg: "#b7bdf8"),
62    song_table_format: [
63        (
64            prop: (kind: Property(Artist), style: (fg: "#b7bdf8"), default: (kind: Text("Unknown"))),
65            width: "50%",
66            alignment: Right,
67        ),
68        (
69            prop: (kind: Text("-"), style: (fg: "#b7bdf8"), default: (kind: Text("Unknown"))),
70            width: "1",
71            alignment: Center,
72        ),
73        (
74            prop: (kind: Property(Title), style: (fg: "#7dc4e4"), default: (kind: Text("Unknown"))),
75            width: "50%",
76        ),
77    ],
78    header: (
79        rows: [
80            (
81                left: [
82                    (kind: Property(Song(Title)), style: (fg: "#7dc4e4", modifiers: "Bold"),
83                        default: (kind: Text("No Song"), style: (fg: "#7dc4e4", modifiers: "Bold"))
84                    ),
85                ],
86                center: [ ],
87                right: [
88                ],
89            ), (
90                left: [
91                    (kind: Property(Song(Album)), style: (fg: "#eed49f", modifiers: "Bold"),
92                        default: (kind: Text("Unknown Album"), style: (fg: "#eed49f", modifiers: "Bold"))
93                    ),
94                ],
95                center: [],
96                right: [],
97            ), (
98                left: [
99                    (kind: Property(Song(Artist)), style: (fg: "#8aadf4", modifiers: "Bold"),
100                        default: (kind: Text("Unknown"), style: (fg: "#8aadf4", modifiers: "Bold"))
101                    ),
102                ],
103                center: [
104                    (kind: Text(" - ")),
105                ],
106                right: [ ],
107            ), (
108                left: [ ],
109                center: [
110                (kind: Property(Widget(States(
111                        active_style: (fg: "white", modifiers: "Bold"),
112                        separator_style: (fg: "white")))
113                    ),
114                    style: (fg: "dark_gray")
115                ),
116                ],
117                right: [ ],
118            ), (
119                left: [
120                    (kind: Text("["), style: (fg: "#b7bdf8", modifiers: "Bold")),
121                    (kind: Property(Status(State)), style: (fg: "#b7bdf8", modifiers: "Bold")),
122                    (kind: Text("]"), style: (fg: "#b7bdf8", modifiers: "Bold")),
123                ],
124                center: [
125                    (kind: Property(Status(Elapsed))),
126                    (kind: Text(" / ")),
127                    (kind: Property(Status(Duration))),
128                ],
129                right: [
130                    (kind: Text(" (")),
131                    (kind: Property(Status(Bitrate))),
132                    (kind: Text(" kbps)"))
133                ],
134            ),
135        ],
136    ),
137)