user/spicetify: add custom css for nowplaying menu

This commit is contained in:
LavaDesu 2025-03-20 21:54:10 +11:00
parent 54e8025488
commit 5f1b9b17ec
Signed by: cilly
GPG key ID: 6500251E087653C9

View file

@ -8,7 +8,25 @@ in
programs.spicetify = {
enable = true;
alwaysEnableDevTools = true;
theme = spicePkgs.themes.catppuccin;
theme = spicePkgs.themes.catppuccin // {
additionalCss = ''
/* Removes "About the artist" text in now playing menu */
.main-nowPlayingView-sectionHeaderText {
display: none;
}
/* Removes gradient in now playing menu */
.main-nowPlayingView-contextItemInfo:before {
background: none;
}
/* Removes gradient above artist image */
/* https://stackoverflow.com/a/77015731 < this is so smart */
.main-nowPlayingView-aboutArtistV2ImageContainer.main-nowPlayingView-aboutArtistV2Image {
background-size: 0% 0%, cover;
}
'';
};
colorScheme = config.catppuccin.flavor;
enabledSnippets = with spicePkgs.snippets; [