1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2025-01-08 18:13:52 +00:00
ultima/modules/home/programs/gui/spotify/default.nix
2024-12-20 22:10:11 +09:00

99 lines
2.4 KiB
Nix

{
x,
pkgs,
lib,
config,
inputs,
...
}:
with lib;
with x;
let
cfg = config.module.programs.gui.spotify;
font = config.stylix.fonts;
spicePkgs = inputs.spicetify.legacyPackages.${pkgs.system};
in
{
options = {
module.programs.gui.spotify = {
enable = mkBool;
};
};
imports = with inputs; [ spicetify.homeManagerModules.default ];
config = mkIf cfg.enable {
programs.spicetify = True // {
theme = spicePkgs.themes.sleek // {
additionalCss = ''*{font-family:"${font.monospace.name}"!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
];
};
};
}