stylix: new theme

Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
2025-06-29 17:38:46 +03:00
parent 8fe81eb9cd
commit 547e41d3f9
3 changed files with 48 additions and 16 deletions

View File

@ -51,13 +51,17 @@ in {
else if config.stylix.polarity == "dark"
then "Papirus-Dark"
else "Papirus-Light";
package =
if (lib.strings.hasPrefix "gruvbox" osConfig.module.stylix.theme)
package = let
inherit (osConfig.module.stylix) theme;
in
if (lib.strings.hasPrefix "gruvbox" theme)
then pkgs.gruvbox-plus-icons
else if (lib.strings.hasPrefix "rose-pine" osConfig.module.stylix.theme)
else if (lib.strings.hasPrefix "rose-pine" theme)
then pkgs.papirus-icon-theme.override {color = "indigo";}
else if (lib.strings.hasPrefix "nord" osConfig.module.stylix.theme)
else if (lib.strings.hasPrefix "nord" theme)
then pkgs.papirus-icon-theme.override {color = "nordic";}
else if (lib.strings.hasPrefix "s" theme)
then pkgs.papirus-icon-theme.override {color = "teal";}
else pkgs.papirus-icon-theme;
in {inherit name package;};
};
@ -71,7 +75,7 @@ in {
waybar = import ./programs/waybar {inherit config colors getExe ifLaptop launcher pkgs;};
};
services = import ./services {inherit pkgs lockscreen getExe perSystem;};
services = import ./services {inherit pkgs lockscreen getExe perSystem osConfig;};
home.packages = with pkgs;
[