fix(hypr): Hyprland breaking changes

This commit is contained in:
Ahmad Ansori Palembani 2024-11-17 09:45:38 +07:00
parent 48c48c3327
commit becd60eb76
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6

View file

@ -47,10 +47,12 @@ decoration {
new_optimizations = 1 new_optimizations = 1
} }
drop_shadow = yes shadow {
shadow_range = 4 enabled = yes
shadow_render_power = 3 range = 4
col.shadow = rgba(1a1a1aee) render_power = 3
color = rgba(1a1a1aee)
}
} }
animations { animations {
@ -69,9 +71,17 @@ animations {
dwindle { dwindle {
pseudotile = on pseudotile = on
preserve_split = 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 { master {
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
new_status = master new_status = master