hyprland safe escape with stylix + fonts flake

This commit is contained in:
2025-09-29 21:19:38 -06:00
parent a5e8cf27ec
commit bb08c52790
5 changed files with 43 additions and 4 deletions

View File

@@ -11,6 +11,7 @@ let
};
scheme = schemesFile.schemes.cheems;
cfg = config.my.stylix;
gnomeEnabled = config.services.xserver.desktopManager.gnome.enable;
in
{
options.my.stylix.enable = lib.mkEnableOption "system-wide theming with Stylix";
@@ -23,7 +24,7 @@ in
}
// lib.optionalAttrs (scheme ? base16Scheme) { inherit (scheme) base16Scheme; };
home-manager.users.jawz = {
gtk = lib.mkIf (!cfg.enable) {
gtk = lib.mkIf (!cfg.enable && gnomeEnabled) {
enable = true;
iconTheme = {
name = "Papirus-Light";
@@ -33,7 +34,7 @@ in
};
};
stylix = {
enable = true;
inherit (cfg) enable;
autoEnable = cfg.enable;
iconTheme = {
inherit (cfg) enable;