Skip to content

fix: Lua dispatcher compat#112

Open
Mestane wants to merge 3 commits into
caelestia-dots:mainfrom
Mestane:fix/hyprland-lua-dispatcher-compat
Open

fix: Lua dispatcher compat#112
Mestane wants to merge 3 commits into
caelestia-dots:mainfrom
Mestane:fix/hyprland-lua-dispatcher-compat

Conversation

@Mestane
Copy link
Copy Markdown

@Mestane Mestane commented May 19, 2026

Hyprland 0.55 deprecated hyprlang in favor of Lua, introducing breaking changes to dispatcher syntax and config file formats. This PR adds full backward compatibility for both .conf and .lua configs by detecting the active config provider via hyprctl systeminfo and transparently mapping legacy dispatcher calls to their Lua equivalents across hypr.py, toggle.py, resizer.py, and theme.py. Existing hyprlang setups are unaffected.

@Mestane Mestane force-pushed the fix/hyprland-lua-dispatcher-compat branch from 7024cd4 to 7d380ef Compare May 19, 2026 16:48
@Mestane Mestane force-pushed the fix/hyprland-lua-dispatcher-compat branch from fb43493 to bd278b9 Compare May 19, 2026 21:07
@Mestane Mestane changed the title fix: temporary Lua dispatcher compat for workspace dispatchers fix: Lua dispatcher compat May 19, 2026
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