diff options
| author | Andrew <admonty1@protonmail.com> | 2025-08-21 12:55:58 -0400 |
|---|---|---|
| committer | Andrew <admonty1@protonmail.com> | 2025-08-21 12:55:58 -0400 |
| commit | 645f9c407eaca470fea0837274e419b0d54bfa77 (patch) | |
| tree | c6ea42ea0fc35bcd63b86662277de4b4a98ad671 /rmpc-theme.nix | |
| parent | modularize brave config and rmpc config and theme (diff) | |
| download | nixos-645f9c407eaca470fea0837274e419b0d54bfa77.tar.gz nixos-645f9c407eaca470fea0837274e419b0d54bfa77.tar.bz2 nixos-645f9c407eaca470fea0837274e419b0d54bfa77.zip | |
format
Diffstat (limited to 'rmpc-theme.nix')
| -rw-r--r-- | rmpc-theme.nix | 188 |
1 files changed, 94 insertions, 94 deletions
diff --git a/rmpc-theme.nix b/rmpc-theme.nix index 7fcb707..35b4e23 100644 --- a/rmpc-theme.nix +++ b/rmpc-theme.nix @@ -1,98 +1,98 @@ { config, pkgs, ... }: { - home.file = { - ".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")) - ] - ) - ], - ), - ) - ''; -}; + home.file = { + ".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")) + ] + ) + ], + ), + ) + ''; + }; } |
