Skip to content

Commit

Permalink
use Gerg-L spicetify nix instead of my own
Browse files Browse the repository at this point in the history
  • Loading branch information
the-argus committed Sep 27, 2024
1 parent 51745fd commit 05d0c54
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 49 deletions.
61 changes: 22 additions & 39 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
};

spicetify-nix = {
url = "github:the-argus/spicetify-nix";
url = "github:Gerg-L/spicetify-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
gtk-nix = {
Expand Down
17 changes: 8 additions & 9 deletions user/primary/spicetify.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
config,
...
}: let
spicePkgs = spicetify-nix.packages.${pkgs.system}.default;
spicePkgs = spicetify-nix.legacyPackages.${pkgs.system};
in {
# import the flake's module
imports = [spicetify-nix.homeManagerModule];
imports = [spicetify-nix.homeManagerModules.default];

# configure spicetify :)
programs.spicetify = rec {
spicetifyPackage = pkgs.spicetify-cli;
enable = true;
theme = spicePkgs.themes.Onepunch;
theme = spicePkgs.themes.dribbblish;
colorScheme = "custom";

customColorScheme = let
Expand All @@ -27,7 +27,7 @@ in {
};
in
with config.banner.palette; (
if theme == spicePkgs.themes.Dribbblish
if theme == spicePkgs.themes.dribbblish
then {
text = center.text;
subtext = center.text; # "F0F0F0";
Expand All @@ -46,7 +46,7 @@ in {
notification-error = urgent;
misc = base04;
}
else if theme == spicePkgs.themes.Flow
else if theme == spicePkgs.themes.flow
then {
text = base05;
gradientTop = base04;
Expand All @@ -63,7 +63,7 @@ in {
notification-error = urgent;
card-hover = hialt0;
}
else if theme == spicePkgs.themes.Onepunch
else if theme == spicePkgs.themes.onepunch
then {
text = base05;
subtext = base0B;
Expand All @@ -88,9 +88,8 @@ in {
);

enabledCustomApps = with spicePkgs.apps; [
# BUG: new releases and lyrics plus both cause "something went wrong"
# new-releases
# lyrics-plus
newReleases
lyricsPlus
localFiles
marketplace
];
Expand Down

0 comments on commit 05d0c54

Please # to comment.