finally caved and removed my redundant color scheme definition in the flake.nix file to use stylix's built-in color scheme definition

This commit is contained in:
pagedmov
2024-11-03 15:55:36 -05:00
parent 62bbbfa71d
commit e4369939f4
11 changed files with 65 additions and 79 deletions

View File

@@ -1,5 +1,6 @@
{lib, config, pkgs, inputs, scheme ? {}, ... }: let
{lib, config, pkgs, inputs, ... }: let
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.system};
scheme = config.lib.stylix.colors;
in {
imports = [inputs.spicetify-nix.homeManagerModules.default];
options = {

View File

@@ -1,4 +1,4 @@
{lib, config, pkgs, scheme ? {}, wallpaper, ... }: {
{lib, config, pkgs, ... }: {
options = {
stylixHomeConfig.enable = lib.mkEnableOption "enables my stylix Home-Manager options";
};

View File

@@ -1,4 +1,4 @@
{pkgs, scheme ? {}, host, lib, config, ...}:
{pkgs, host, lib, config, ...}:
let
desktop = host == "oganesson";
@@ -22,6 +22,8 @@ let
"eDP-1" = [1 2 3 4];
};
};
scheme = config.lib.stylix.colors;
bg = {
darkester = scheme.base00;
darkest = scheme.base01;
@@ -435,7 +437,7 @@ in {
}
#custom-power {
color: #${colors.color0};
color: #${colors.color2};
font-size: 18px;
}
@@ -445,7 +447,7 @@ in {
}
#custom-reboot {
color: #${colors.color2};
color: #${colors.color0};
font-size: 18px;
}