From 2ae2bb6c13bf727ea0f7b6a04d42a48fc3831e46 Mon Sep 17 00:00:00 2001 From: Myned Date: Sun, 6 Oct 2024 10:45:37 -0500 Subject: [PATCH] custom: add rounding option Signed-off-by: Myned --- options/custom/default.nix | 3 +-- options/custom/desktops/hyprland/settings.nix | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/options/custom/default.nix b/options/custom/default.nix index 553ac8d..5f9ef0c 100644 --- a/options/custom/default.nix +++ b/options/custom/default.nix @@ -29,8 +29,7 @@ in { # TODO: Use option for border size border = mkOption {default = 2;}; - gap = mkOption {default = 10;}; - padding = mkOption {default = 56;}; # ?? journalctl --user -u waybar.service | grep height: + rounding = mkOption {default = 10;}; ### Misc wallpaper = mkOption {default = false;}; diff --git a/options/custom/desktops/hyprland/settings.nix b/options/custom/desktops/hyprland/settings.nix index 13e86bf..1b091af 100644 --- a/options/custom/desktops/hyprland/settings.nix +++ b/options/custom/desktops/hyprland/settings.nix @@ -120,7 +120,7 @@ in { "col.shadow" = "rgba(00000040)"; blur.enabled = false; dim_special = 0; - rounding = 12; + rounding = config.custom.rounding; shadow_range = 50; shadow_render_power = 4; # Distance falloff };