hyprland safe escape with stylix + fonts flake
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user