flake update + stylix theming customization

This commit is contained in:
2025-06-08 16:21:27 -06:00
parent 3c7e049994
commit 0c21ba4e43
2 changed files with 42 additions and 41 deletions

View File

@@ -9,21 +9,22 @@ let
mkScheme = color: name: polarity: image: {
inherit name polarity image;
iconPackage = pkgs.papirus-icon-theme.override { inherit color; };
base16Scheme = "${pkgs.base16-schemes}/share/themes/${name}.yaml";
};
schemas = {
who = mkScheme "bluegrey" "kanagawa" "dark" ./wallpapers/Nikolay_Kasatkin_Who.jpeg;
schemes = {
who = mkScheme "orange" "catppuccin-frappe" "dark" ./wallpapers/Nikolay_Kasatkin_Who.jpeg;
jesus = mkScheme "red" "equilibrium-light" "light" ./wallpapers/jesus.png;
ballerinas = mkScheme "brown" "mocha" "dark" ./wallpapers/Waay-Ballerinas.jpeg;
};
scheme = schemas.who;
scheme = schemes.ballerinas;
in
{
options.my.stylix.enable = lib.mkEnableOption "enable";
config = {
stylix = {
inherit (scheme) image polarity;
inherit (scheme) image polarity base16Scheme;
enable = cfg.enable;
targets.qt.platform = lib.mkForce "qtct";
base16Scheme = "${pkgs.base16-schemes}/share/themes/${scheme.name}.yaml";
};
home-manager.users.jawz = {
gtk = lib.mkIf (!cfg.enable) {