Restore themed Hyprland gradients
This commit is contained in:
@@ -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,
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
@@ -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 }}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user