diff options
author | Freya Murphy <freya@freyacat.org> | 2025-06-22 01:02:56 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-06-22 01:02:56 -0400 |
commit | 00aad8287b2e85c48bb3b1078490233e162de328 (patch) | |
tree | 2453cd70f442747191d3078e2b94447ceba8a048 | |
parent | make max width chars shorted in launcher with new font (diff) | |
download | dotfiles-nix-00aad8287b2e85c48bb3b1078490233e162de328.tar.gz dotfiles-nix-00aad8287b2e85c48bb3b1078490233e162de328.tar.bz2 dotfiles-nix-00aad8287b2e85c48bb3b1078490233e162de328.zip |
disable blur and add toggle option
-rw-r--r-- | config/default.nix | 4 | ||||
-rw-r--r-- | options.nix | 1 | ||||
-rw-r--r-- | programs/hypr/hyprland.nix | 2 |
3 files changed, 6 insertions, 1 deletions
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; |