From 32b2e61a92c07d36da87b2867efe738a09acfd42 Mon Sep 17 00:00:00 2001 From: Myned Date: Sun, 10 Nov 2024 18:07:03 -0600 Subject: [PATCH] hyprland: update syntax Signed-off-by: Myned --- options/custom/desktops/hyprland/settings.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/options/custom/desktops/hyprland/settings.nix b/options/custom/desktops/hyprland/settings.nix index 3ef874a..9a1c272 100644 --- a/options/custom/desktops/hyprland/settings.nix +++ b/options/custom/desktops/hyprland/settings.nix @@ -130,13 +130,16 @@ in { # https://wiki.hyprland.org/Configuring/Variables/#decoration decoration = { - "col.shadow_inactive" = "rgba(0000001a)"; - "col.shadow" = "rgba(00000040)"; blur.enabled = false; dim_special = 0.25; rounding = config.custom.rounding; - shadow_range = 50; - shadow_render_power = 4; # Distance falloff + + shadow = { + color = "rgba(00000040)"; + color_inactive = "rgba(0000001a)"; + range = 50; + render_power = 4; # Distance falloff + }; }; # https://wiki.hyprland.org/Configuring/Variables/#group