[Rice] Just finished my first rice (core at least) now preparing for Hyprland’s Lua migration
Hey everyone,
I recently finished my first rice, at least the core of it. It’s been a great learning experience that forced me to understand the graphical stack much better and how all the pieces fit together.
In the meantime, knowing about Hyprland’s upcoming migration from its proprietary config format to Lua, I started studying the language a few weeks ago. I’ve covered the basics: syntax, tables (and how to use them for data structures), metatables and metamethods and a bit of how C API binding works. Nothing advanced, but enough to feel ready for something practical.
My goal now is to start converting my configs before it becomes mandatory.
I’d love to hear from anyone who’s already started the migration or knows Lua well in similar contexts:
Any common mistakes when translating declarative configs into Lua?
Is it worth modularizing with require from the start, or keep it all in one file initially?
Any patterns or conventions you found useful (e.g. clean keybind management, handling multiple monitors)?
Resources beyond the official docs?
Thanks in advance for any feedback and suggestion!