Restore themed Hyprland gradients

This commit is contained in:
Ryan Hughes
2026-06-01 17:37:24 -04:00
parent 5812a7d04a
commit 9c4ff68a43
10 changed files with 183 additions and 7 deletions
+4 -1
View File
@@ -1,15 +1,18 @@
local active_border_color = "rgb({{ accent_strip }})"
local active_border_color = {{ hypr_gradient hyprland_active_border accent }}
local inactive_border_color = {{ hypr_gradient hyprland_inactive_border rgba(595959aa) }}
hl.config({
general = {
col = {
active_border = active_border_color,
inactive_border = inactive_border_color,
},
},
group = {
col = {
border_active = active_border_color,
border_inactive = inactive_border_color,
},
},
})
+4 -2
View File
@@ -126,8 +126,10 @@ border-alpha = 1.0
background = "{{ background }}"
background-alpha = 1.0
text = "{{ foreground }}"
# Conventionally matches the Hyprland active-window border
border = "{{ accent }}"
# Conventionally matches the Hyprland active-window border. If a theme
# defines a gradient active border, the shell uses its first stop because
# QML Rectangle borders are flat colors.
border = "{{ gradient_start hyprland_active_border accent }}"
border-alpha = 1.0
countdown = "{{ accent }}"