prateek-squadron/hyprconf2lua — explained in plain English
Analysis updated 2026-06-24
Migrate your existing Hyprland config to Lua automatically so your window manager still works after upgrading to version 0.55 or later.
Run hyprconf2lua in check mode inside a git hook to catch any config changes that require manual Lua edits before they break your setup.
Convert a friends or community-shared hyprlang config file to Lua without learning the Lua API from scratch.
| prateek-squadron/hyprconf2lua | 13127905/deep-learning-based-air-gesture-text-recognition- | 6xvl/paralives-plugins-index | |
|---|---|---|---|
| Stars | 15 | 15 | 15 |
| Language | Python | Python | Python |
| Setup difficulty | easy | moderate | easy |
| Complexity | 1/5 | 3/5 | 2/5 |
| Audience | developer | developer | general |
Figures from each repo's GitHub metadata at analysis time.
Requires an existing Hyprland hyprlang config file, install via pip or run directly with Python.
Hyprland is a tiling window manager for Linux, and version 0.55 changed how it reads its configuration file. The old format (hyprlang) is being dropped, replaced by Lua, which is a small scripting language. If you have an existing Hyprland setup, your config file will eventually stop working unless you convert it. This tool automates that conversion. You point it at your old hyprland.conf file, it reads through all your settings, keybinds, window rules, monitor configurations, and startup programs, and writes out an equivalent Lua file. The project claims about 97% of a standard config converts cleanly without any manual editing. The remaining few percent, things like plugin-specific settings that require plugin-specific Lua APIs, get marked with a comment saying TODO so you know exactly where to look. Installation is straightforward: you can run pip install hyprconf2lua and then call it from the command line, or you can clone the repository and run it directly with Python without installing anything at all. There is also a check mode for automated setups, where the tool exits with a specific code if anything in your config needs manual attention, which makes it usable in scripts or git hooks. The tool handles a wide range of Hyprland features: key bindings including all the bind variants, window rules with regex matching, autostart commands, environment variables, animations, device sections, gestures, and workspace rules. Nested config sections and variable references are also converted. The author wrote it after Hyprland 0.55 broke the configs of existing users who needed a working migration path. The codebase is around 400 lines of Python and is MIT licensed. A similar converter written in Go exists, but this one requires no compile step and handles more edge cases according to the project's own comparison.
A Python tool that converts your existing Hyprland window manager config from the old hyprlang format to the new Lua format required by Hyprland 0.55+.
Mainly Python. The stack also includes Python.
MIT license, use freely for any purpose, including commercial, as long as you keep the copyright notice.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.