Skip to content

Commit

Permalink
🔧 (spicetify): use stylix
Browse files Browse the repository at this point in the history
  • Loading branch information
elythh committed Oct 5, 2024
1 parent 314030a commit f41dc01
Showing 1 changed file with 24 additions and 25 deletions.
49 changes: 24 additions & 25 deletions modules/home/opt/music/spicetify/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@
inputs,
config,
lib,
pkgs,
...
}:
let
inherit (inputs) spicetify;
spicePkgs = spicetify.legacyPackages.${pkgs.system};
# spicePkgs = spicetify.legacyPackages.${pkgs.system};

inherit (lib)
mkIf
Expand All @@ -25,30 +24,30 @@ in
config = mkIf cfg.enable {
programs.spicetify = {
enable = true;
theme = spicePkgs.themes.comfy;
colorScheme = "custom";
# theme = spicePkgs.themes.comfy;
# colorScheme = "custom";

customColorScheme = with config.lib.stylix.colors; {
text = "${base05}";
subtext = "${base05}";
sidebar-text = "${base05}";
main = "${base00}";
sidebar = "${base01}";
player = "${base01}";
card = "${base00}";
shadow = "${base03}";
selected-row = "${base03}";
button = "${base0F}";
button-active = "${base05}";
button-disabled = "${base0E}";
tab-active = "${base03}";
notification = "${base0A}";
notification-error = "${base0F}";
misc = "${base05}";
alt-text = "${base05}";
player-bar-bg = "${base01}";
accent = "${base06}";
};
# customColorScheme = with config.lib.stylix.colors; {
# text = "${base05}";
# subtext = "${base05}";
# sidebar-text = "${base05}";
# main = "${base00}";
# sidebar = "${base01}";
# player = "${base01}";
# card = "${base00}";
# shadow = "${base03}";
# selected-row = "${base03}";
# button = "${base0F}";
# button-active = "${base05}";
# button-disabled = "${base0E}";
# tab-active = "${base03}";
# notification = "${base0A}";
# notification-error = "${base0F}";
# misc = "${base05}";
# alt-text = "${base05}";
# player-bar-bg = "${base01}";
# accent = "${base06}";
# };
};
};
}

0 comments on commit f41dc01

Please sign in to comment.