mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-10 03:43:51 +00:00
88 lines
2.3 KiB
Nix
88 lines
2.3 KiB
Nix
|
{ pkgs, lib, config, inputs, True, ... }:
|
||
|
|
||
|
with lib;
|
||
|
|
||
|
let
|
||
|
cfg = config.module.programs.gui.spotify;
|
||
|
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.system};
|
||
|
in {
|
||
|
options = { module.programs.gui.spotify = { enable = mkEnableOption ""; }; };
|
||
|
|
||
|
imports = [ inputs.spicetify-nix.homeManagerModules.default ];
|
||
|
config = mkIf cfg.enable {
|
||
|
programs.spicetify = True // {
|
||
|
theme = spicePkgs.themes.sleek // {
|
||
|
additionalCss = ''*{font-family:"JetBrainsMono Nerd Font"!important}'';
|
||
|
};
|
||
|
colorScheme = "custom";
|
||
|
customColorScheme = with config.lib.stylix.colors; {
|
||
|
# BASE 16 SCHEME
|
||
|
accent = "${base03}";
|
||
|
accent-active = "${base03}";
|
||
|
accent-inactive = "${base02}";
|
||
|
banner = "${base03}";
|
||
|
border-active = "${base03}";
|
||
|
border-inactive = "${base03}";
|
||
|
header = "${base00}";
|
||
|
highlight = "${base04}";
|
||
|
text = "${base06}";
|
||
|
|
||
|
subtext = "${base06}";
|
||
|
sidebar-text = "${base07}";
|
||
|
main = "${base00}";
|
||
|
sidebar = "${base01}";
|
||
|
player = "${base00}";
|
||
|
card = "${base00}";
|
||
|
shadow = "${base00}";
|
||
|
selected-row = "${base03}";
|
||
|
button = "${base0B}";
|
||
|
button-active = "${base0B}";
|
||
|
button-disabled = "${base03}";
|
||
|
tab-active = "${base04}";
|
||
|
notification = "${base0A}";
|
||
|
notification-error = "${base08}";
|
||
|
misc = "${base02}";
|
||
|
};
|
||
|
enabledExtensions = with spicePkgs.extensions; [
|
||
|
# IMPORTANT
|
||
|
fullAppDisplay
|
||
|
betterGenres
|
||
|
keyboardShortcut
|
||
|
|
||
|
#COMMUNITY
|
||
|
adblockify
|
||
|
historyShortcut
|
||
|
beautifulLyrics
|
||
|
powerBar
|
||
|
seekSong
|
||
|
history
|
||
|
];
|
||
|
enabledSnippets = with spicePkgs.snippets; [
|
||
|
fixLikedButton
|
||
|
smoothPlaylistRevealGradient
|
||
|
hideFriendActivityButton
|
||
|
centeredLyrics
|
||
|
pointer
|
||
|
removeConnectBar
|
||
|
fixedEpisodesIcon
|
||
|
fixProgressBar
|
||
|
roundedImages
|
||
|
fixMainViewWidth
|
||
|
fixPlaylistHover
|
||
|
hideNowPlayingViewButton
|
||
|
fixLikedIcon
|
||
|
removeTopSpacing
|
||
|
hideFriendsActivityButton
|
||
|
hideFullScreenButton
|
||
|
hideDownloadButton
|
||
|
hideMiniPlayerButton
|
||
|
leftAlignedHeartIcons
|
||
|
hideSidebarScrollbar
|
||
|
betterLyricsStyle
|
||
|
queueTopSidePanel
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
}
|
||
|
|