Skip to content

fix(hyprland): generate inactive border gradients in Lua#9

Open
igmg6-ua wants to merge 1 commit into
Axenide:mainfrom
igmg6-ua:fix-hyprland-inactive-gradient
Open

fix(hyprland): generate inactive border gradients in Lua#9
igmg6-ua wants to merge 1 commit into
Axenide:mainfrom
igmg6-ua:fix-hyprland-inactive-gradient

Conversation

@igmg6-ua

Copy link
Copy Markdown

Problem

Hyprland 0.55 represents gradients in Lua as a table. The generator already
uses this representation for active_border, but serializes multi-color
inactive_border values as a quoted string, causing an invalid color error.

Fix

Apply the existing active-border gradient serialization logic to
inactive_border, while preserving the current single-color output.

Keep the duplicated code, so calls to this function doesnt broke, can be fixed with a follow-up refactor.

Testing

  • Tested with Hyprland 0.55.4 and Ambxst's Frutiger Aero preset
  • Verified two-color inactive gradients load without configuration errors
  • Verified single-color inactive borders retain their existing representation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant