From becd60eb76ec14ea319480114d79a7a9cd3f8842 Mon Sep 17 00:00:00 2001 From: Ahmad Ansori Palembani Date: Sun, 17 Nov 2024 09:45:38 +0700 Subject: [PATCH] fix(hypr): Hyprland breaking changes --- .config/hypr/hyprland.conf | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 24ab963..0914bae 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -47,10 +47,12 @@ decoration { new_optimizations = 1 } - drop_shadow = yes - shadow_range = 4 - shadow_render_power = 3 - col.shadow = rgba(1a1a1aee) + shadow { + enabled = yes + range = 4 + render_power = 3 + color = rgba(1a1a1aee) + } } animations { @@ -69,9 +71,17 @@ animations { dwindle { pseudotile = on preserve_split = on - no_gaps_when_only = on } +# "no gaps when only" replacement +# REF: https://wiki.hyprland.org/Configuring/Workspace-Rules/#smart-gaps +workspace = w[tv1], gapsout:0, gapsin:0 +workspace = f[1], gapsout:0, gapsin:0 +windowrulev2 = bordersize 0, floating:0, onworkspace:w[tv1] +windowrulev2 = rounding 0, floating:0, onworkspace:w[tv1] +windowrulev2 = bordersize 0, floating:0, onworkspace:f[1] +windowrulev2 = rounding 0, floating:0, onworkspace:f[1] + master { # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more new_status = master