hyprland: tune shadows and borders

This commit is contained in:
end-4
2025-12-27 11:24:19 +01:00
parent 13a827c0f4
commit c5aaf721c8
2 changed files with 15 additions and 12 deletions
+13 -10
View File
@@ -22,7 +22,7 @@ general {
gaps_workspaces = 50 gaps_workspaces = 50
border_size = 1 border_size = 1
col.active_border = rgba(0DB7D4FF) col.active_border = rgba(0DB7D455)
col.inactive_border = rgba(31313600) col.inactive_border = rgba(31313600)
resize_on_border = true resize_on_border = true
@@ -31,10 +31,10 @@ general {
allow_tearing = true # This just allows the `immediate` window rule to work allow_tearing = true # This just allows the `immediate` window rule to work
snap { snap {
enabled = true enabled = true
window_gap = 4 window_gap = 4
monitor_gap = 5 monitor_gap = 5
respect_gaps = true respect_gaps = true
} }
} }
@@ -46,6 +46,9 @@ dwindle {
} }
decoration { decoration {
# 2 = circle, higher = squircle, 4 = very obvious squircle
# Clear squircles look really off; we use only extra .4 here to make the rounding feel more continuous
rounding_power = 2.4
rounding = 18 rounding = 18
blur { blur {
@@ -69,15 +72,15 @@ decoration {
shadow { shadow {
enabled = true enabled = true
ignore_window = true ignore_window = true
range = 30 range = 50
offset = 0 2 offset = 0 4
render_power = 4 render_power = 10
color = rgba(00000010) color = rgba(00000027)
} }
# Dim # Dim
dim_inactive = true dim_inactive = true
dim_strength = 0.025 dim_strength = 0.05
dim_special = 0.07 dim_special = 0.07
} }
@@ -1,6 +1,6 @@
general { general {
col.active_border = rgba({{colors.outline.default.hex_stripped}}AA) col.active_border = rgba({{colors.outline.default.hex_stripped}}77)
col.inactive_border = rgba({{colors.outline_variant.default.hex_stripped}}AA) col.inactive_border = rgba({{colors.outline_variant.default.hex_stripped}}55)
} }
misc { misc {