diff --git a/homeManagerModules/apps/default.nix b/homeManagerModules/apps/default.nix index a235fa95..afeaf7d0 100644 --- a/homeManagerModules/apps/default.nix +++ b/homeManagerModules/apps/default.nix @@ -6,6 +6,7 @@ ./emacs ./fastfetch ./firefox + ./fuzzel ./helix ./keepassxc ./kitty diff --git a/homeManagerModules/apps/fuzzel/default.nix b/homeManagerModules/apps/fuzzel/default.nix new file mode 100644 index 00000000..821aad98 --- /dev/null +++ b/homeManagerModules/apps/fuzzel/default.nix @@ -0,0 +1,26 @@ +{ + config, + lib, + ... +}: let + cfg = config.ar.home; +in { + config = lib.mkIf cfg.apps.fuzzel.enable { + programs.fuzzel = { + enable = true; + settings = { + border = { + radius = cfg.theme.borderRadius; + width = 4; + }; + + main = { + layer = "overlay"; + lines = 3; + terminal = lib.getExe cfg.defaultApps.terminal; + width = 36; + }; + }; + }; + }; +} diff --git a/homeManagerModules/theme.nix b/homeManagerModules/theme.nix index 9d2c9ce8..2e733fe2 100644 --- a/homeManagerModules/theme.nix +++ b/homeManagerModules/theme.nix @@ -45,7 +45,7 @@ in { gtk = { iconTheme = { name = - if cfg.darkMode + if config.stylix.polarity == "dark" then "Papirus-Dark" else "Papirus"; diff --git a/homes/aly/default.nix b/homes/aly/default.nix index 7fac767c..a7c392c8 100644 --- a/homes/aly/default.nix +++ b/homes/aly/default.nix @@ -116,7 +116,6 @@ self: { theme = { enable = true; borderRadius = 0; - darkMode = true; }; }; }