@ -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;
|
||||
[
|
||||
|
Reference in New Issue
Block a user