dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

[MIGRATION] Move configs from using hyprlang to using lua

Open hurlbutt opened this issue 7 months ago • 10 comments

Starting with Hyprland v0.55 (or today in git), configs will be specified using lua instead of hyprlang. While hyprlang will be supported for 1-2 more releases, support for hyprland will be removed and thus break any setup that has not moved configs to lua. More information can be found on the Hyprland wiki.

Not sure if creating one issue is the best approach, but we might want to coordinate PRs that go through and migrate certain aspects of config specification and management to lua.

hurlbutt avatar Apr 27 '26 04:04 hurlbutt

I will start the migration soon. It will be a tough one.

mylinuxforwork avatar Apr 28 '26 05:04 mylinuxforwork

@hurlbutt Just read the Hyprland wiki. Seams to be not so super complicated. But I need to wait until the official release is out for Arch, Fedora and Tumbleweed.

mylinuxforwork avatar Apr 29 '26 11:04 mylinuxforwork

@mylinuxforwork - Agreed; just wanted to flag this ahead of time in case we want to preview the lua-based approach in the dotfiles ahead of hyprlang support being removed.

hurlbutt avatar Apr 29 '26 19:04 hurlbutt

@mylinuxforwork - I saw that you've started a lua migration branch. Are you accepting contributions to this branch, and, if so, are there specific things you're looking for that'd help?

hurlbutt avatar May 13 '26 20:05 hurlbutt

Every input and idea in any form is very welcome.

mylinuxforwork avatar May 13 '26 20:05 mylinuxforwork

@mylinuxforwork - Understood. Would it be best to use this issue to track those ideas/work items, or is there another preferable place to do so?

hurlbutt avatar May 13 '26 20:05 hurlbutt

Just share your ideas here. Thank you.

mylinuxforwork avatar May 13 '26 20:05 mylinuxforwork

@mylinuxforwork - Question for you regarding #1605: is the goal for 2.13 to have both lua and hyprlang be supported concurrently, or just lua? I created a new script file to handle the keybind and description parser for the lua config, but if the goal is to drop all support for .conf files in 2.13 should we aim to just update the in-place files?

hurlbutt avatar May 17 '26 03:05 hurlbutt

My goal is to jump completely to lua and remove all .conf files. Thanks for your support.

mylinuxforwork avatar May 17 '26 15:05 mylinuxforwork

Closing as v2.13.0 implements to move to lua. Thanks again @mylinuxforwork for spearheading this migration!

hurlbutt avatar May 31 '26 21:05 hurlbutt