user/spicetify: add custom css for nowplaying menu
This commit is contained in:
parent
54e8025488
commit
5f1b9b17ec
1 changed files with 19 additions and 1 deletions
|
|
@ -8,7 +8,25 @@ in
|
||||||
programs.spicetify = {
|
programs.spicetify = {
|
||||||
enable = true;
|
enable = true;
|
||||||
alwaysEnableDevTools = 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;
|
colorScheme = config.catppuccin.flavor;
|
||||||
|
|
||||||
enabledSnippets = with spicePkgs.snippets; [
|
enabledSnippets = with spicePkgs.snippets; [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue