From 00aad8287b2e85c48bb3b1078490233e162de328 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Sun, 22 Jun 2025 01:02:56 -0400 Subject: disable blur and add toggle option --- config/default.nix | 4 ++++ options.nix | 1 + programs/hypr/hyprland.nix | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/config/default.nix b/config/default.nix index b81ce3b..ec432f1 100644 --- a/config/default.nix +++ b/config/default.nix @@ -286,6 +286,10 @@ in { description = "Theme inner gap/spacing."; }; + blur = mkEnableOption { + description = "If to enable blur in some programs."; + }; + wallpaper = mkOption { type = types.str; description = "Path to wallpaper image"; diff --git a/options.nix b/options.nix index 8ece493..eed829d 100644 --- a/options.nix +++ b/options.nix @@ -21,6 +21,7 @@ innerRadius = 4; outerGap = 10; innerGap = 3; + blur = false; wallpaper = "~/.config/nix/files/wallpapers/mioShun.jxl"; lockscreen = "~/.config/nix/files/wallpapers/flower.jxl"; diff --git a/programs/hypr/hyprland.nix b/programs/hypr/hyprland.nix index 5cda2c5..f339f8e 100644 --- a/programs/hypr/hyprland.nix +++ b/programs/hypr/hyprland.nix @@ -117,7 +117,7 @@ in { rounding = config.theme.outerRadius; shadow.enabled = false; blur = { - enabled = true; + enabled = config.theme.blur; size = 4; passes = 2; noise = 0.008; -- cgit v1.2.3-freya