From a15a59af093c04d83dae9baa15ac534dbb9aabf2 Mon Sep 17 00:00:00 2001 From: roxwize Date: Mon, 3 Mar 2025 17:55:17 -0500 Subject: [PATCH] ~ --- configs/fooyin/fooyin.conf | 57 +++++++++ configs/fooyin/fooyin.fyl | 137 ++++++++++++++++++++ configs/rmpc/config.ron | 11 +- configs/rmpc/themes/neralie.ron | 217 ++++++++++++++------------------ nixos/home/base.nix | 5 +- nixos/home/mozilla.nix | 4 + nixos/packages.nix | 3 +- 7 files changed, 305 insertions(+), 129 deletions(-) create mode 100644 configs/fooyin/fooyin.conf create mode 100644 configs/fooyin/fooyin.fyl diff --git a/configs/fooyin/fooyin.conf b/configs/fooyin/fooyin.conf new file mode 100644 index 0000000..83797cc --- /dev/null +++ b/configs/fooyin/fooyin.conf @@ -0,0 +1,57 @@ +[General] +Language=en_US + +[Artwork] +Paths="@Variant(\0\0\0\x7f\0\0\0\vCoverPaths\0\0\0\0\x4\0\0\0\x1e\0%\0p\0\x61\0t\0h\0%\0/\0\x66\0o\0l\0\x64\0\x65\0r\0.\0*\0\0\0\x1c\0%\0p\0\x61\0t\0h\0%\0/\0\x63\0o\0v\0\x65\0r\0.\0*\0\0\0\x1c\0%\0p\0\x61\0t\0h\0%\0/\0\x66\0r\0o\0n\0t\0.\0*\0\0\0\x34\0%\0p\0\x61\0t\0h\0%\0/\0.\0.\0/\0\x41\0r\0t\0w\0o\0r\0k\0/\0\x66\0o\0l\0\x64\0\x65\0r\0.\0*\0\0\0\x1\0\0\0\x1a\0%\0p\0\x61\0t\0h\0%\0/\0\x62\0\x61\0\x63\0k\0.\0*\0\0\0\x2\0\0\0\x1e\0%\0p\0\x61\0t\0h\0%\0/\0\x61\0r\0t\0i\0s\0t\0.\0*\0\0\0,\0%\0p\0\x61\0t\0h\0%\0/\0%\0\x61\0l\0\x62\0u\0m\0\x61\0r\0t\0i\0s\0t\0%\0.\0*)" + +[Controls] +VolumeStep=1 + +[Engine] +AudioOutput=ALSA|default +FFmpegAllExtensions=false +FadingIntervals=@Variant(\0\0\0\x7f\0\0\0\x18\x46ooyin::FadingIntervals\0\0\0\x3\xe8\0\0\x3\xe8\0\0\x3\xe8\0\0\x3\xe8\0\0\x3\xe8\0\0\x3\xe8) +ReplayGainMode=1 +ReplayGainType=1 + +[Interface] +LockSplitterHandles=true +ScriptEditorState="@ByteArray(\0\0\x1Nx\xdam\x8f]\n\xc2\x30\x10\x84\xbfT\xef\xa1\x94\x6,(\x8a\x17\xd0'\xc1#H\xdb\x87\xaaU\x8b\x8a\xa2\xf5\xc1\xdby(\x1f\x85:\rU\xf0'av'\xbb\x33\xcb\x6\x1am0w\xa0%\x94\x82\x11", ellipsis: "..."), - progress_bar: ( - symbols: ["█", "▌", " "], - track_style: (fg: "#1e2030"), - elapsed_style: (fg: "blue"), - thumb_style: (fg: "blue", bg: "#1e2030"), - ), - scrollbar: ( - symbols: ["│", "█", "▲", "▼"], - track_style: (), - ends_style: (), - thumb_style: (fg: "blue"), - ), - 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: "white"), - default: (kind: Text("Unknown Album"), style: (fg: "white")) - ), - width: "30%", - ), - ( - prop: (kind: Property(Duration), - default: (kind: Text("-")) - ), - width: "15%", - alignment: Right, - ), - ], - header: ( - rows: [ - ( - left: [ - (kind: Text("["), style: (fg: "yellow", modifiers: "Bold")), - (kind: Property(Status(State)), style: (fg: "yellow", modifiers: "Bold")), - (kind: Text("]"), style: (fg: "yellow", modifiers: "Bold")) - ], - center: [ - (kind: Property(Song(Title)), style: (modifiers: "Bold"), - default: (kind: Text("No Song"), style: (modifiers: "Bold")) - ) - ], - right: [ - (kind: Property(Widget(Volume)), style: (fg: "blue")) - ] - ), - ( - left: [ - (kind: Property(Status(Elapsed))), - (kind: Text(" / ")), - (kind: Property(Status(Duration))), - (kind: Text(" (")), - (kind: Property(Status(Bitrate))), - (kind: Text(" kbps)")) - ], - 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")) - ) - ], - right: [ - ( - kind: Property(Widget(States( - active_style: (fg: "white", modifiers: "Bold"), - separator_style: (fg: "white"))) - ), - style: (fg: "dark_gray") - ), - ] - ), - ], - ), - browser_song_format: [ - ( - kind: Group([ - (kind: Property(Track)), - (kind: Text(" ")), - ]) - ), - ( - kind: Group([ - (kind: Property(Artist)), - (kind: Text(" - ")), - (kind: Property(Title)), - ]), - default: (kind: Property(Filename)) - ), - ], + album_art_position: Left, + album_art_width_percent: 40, + default_album_art_path: None, + show_song_table_header: true, + draw_borders: true, + browser_column_widths: [20, 38, 42], + + background_color: "#000823", + text_color: "#656b88", + header_background_color: "#091129", + modal_background_color: None, + + tab_bar: ( + enabled: true, + active_style: (fg: "#656b88", bg: "#000823"), + inactive_style: (), + ), + highlighted_item_style: (fg: "#eee8d5", bg: "#141c34"), + current_item_style: (fg: "#eee8d5", bg: "#4f4872"), + borders_style: (fg: "#7e84a3"), + highlight_border_style: (fg: "#7e84a3"), + symbols: (song: " ", dir: "-", marker: ">", ellipsis: "..."), + progress_bar: ( + symbols: ["-", ">", "-"], + track_style: (fg: "#656b88"), + elapsed_style: (fg: "#4f4872"), + thumb_style: (fg: "#4f4872"), + ), + scrollbar: ( + symbols: ["│", "█", "▲", "▼"], + track_style: (), + ends_style: (), + thumb_style: (fg: "#4f4872"), + ), + song_table_format: [ + ( + prop: (kind: Group([ + (kind: Property(Track), default: (kind: Text("--"))), + (kind: Text(" ")), + (kind: Property(Artist), default: (kind: Text("Unknown"))), + (kind: Text(" - ")), + (kind: Property(Album), default: (kind: Text("Untitled"))) + ])), + width: "30%", + ), + ( + prop: ( + kind: Property(Title), default: (kind: Text("Untitled")) + ), + width: "55%", + ), + ( + prop: (kind: Property(Duration), + default: (kind: Text("-:--")) + ), + width: "15%", + alignment: Right, + ), + ], + header: ( + rows: [ + ( + left: [ + (kind: Text("[RMPC] ")), + (kind: Property(Song(Artist))), + (kind: Text(" - ")), + (kind: Property(Song(Album))), + (kind: Text(" - ")), + (kind: Property(Song(Title))) + ], + center: [ + (kind: Property(Status(State))) + ], + right: [ + (kind: Property(Widget(Volume)), style: (fg: "#eee8d5")) + ] + ) + ], + ), + browser_song_format: [ + ( + kind: Group([ + (kind: Property(Track)), + (kind: Text(" ")), + ]) + ), + ( + kind: Group([ + (kind: Property(Artist)), + (kind: Text(" - ")), + (kind: Property(Title)), + ]), + default: (kind: Property(Filename)) + ), + ], ) diff --git a/nixos/home/base.nix b/nixos/home/base.nix index fe68b81..e56e842 100644 --- a/nixos/home/base.nix +++ b/nixos/home/base.nix @@ -85,7 +85,10 @@ }; kitty = { enable = true; - font.name = "Fira Code"; + font = { + name = "GohuFont"; + size = 10.5; + }; themeFile = "mayukai"; }; password-store = { diff --git a/nixos/home/mozilla.nix b/nixos/home/mozilla.nix index 225a18c..117fc8b 100644 --- a/nixos/home/mozilla.nix +++ b/nixos/home/mozilla.nix @@ -146,6 +146,10 @@ profiles.default = { isDefault = true; search = firefox.profiles.default.search; + settings = { + "mail.show_headers" = 2; + "mail.spellcheck.inline" = false; + }; }; }; }; diff --git a/nixos/packages.nix b/nixos/packages.nix index 400ea4f..297b1a1 100644 --- a/nixos/packages.nix +++ b/nixos/packages.nix @@ -95,7 +95,8 @@ # audio alsa-utils # ALSA, the Advanced Linux Sound Architecture utils audacity # Sound editor with graphical UI - fooyin # Customisable music player + # TODO: consider getting rid of this (no mpd support makes me sad......) + fooyin # Customisable music player mpc # Minimalist command line interface to MPD pavucontrol # PulseAudio Volume Control playerctl # Command-line utility and library for controlling media players that implement MPRIS