1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2025-01-09 08:23:52 +00:00
ultima/modules/home/programs/gui/spotify/default.nix

99 lines
2.4 KiB
Nix
Raw Normal View History

{
x,
pkgs,
lib,
config,
inputs,
...
}:
2024-11-21 09:24:15 +00:00
with lib;
2024-12-09 01:15:55 +00:00
with x;
2024-11-21 09:24:15 +00:00
let
cfg = config.module.programs.gui.spotify;
2024-12-09 01:15:55 +00:00
font = config.stylix.fonts;
2024-11-24 08:30:09 +00:00
spicePkgs = inputs.spicetify.legacyPackages.${pkgs.system};
in
{
options = {
module.programs.gui.spotify = {
enable = mkBool;
};
};
2024-11-21 09:24:15 +00:00
2024-12-20 13:10:11 +00:00
imports = with inputs; [ spicetify.homeManagerModules.default ];
2024-11-21 09:24:15 +00:00
config = mkIf cfg.enable {
programs.spicetify = True // {
theme = spicePkgs.themes.sleek // {
2024-12-09 01:15:55 +00:00
additionalCss = ''*{font-family:"${font.monospace.name}"!important}'';
2024-11-21 09:24:15 +00:00
};
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
];
};
};
}