-
Notifications
You must be signed in to change notification settings - Fork 1
Installation
Kevin edited this page Aug 12, 2026
·
7 revisions
luarocks install astalparu -S libastal-git libastal-4-git gtk3 gtk4 libastal-lua-git- Set up a local Lua/LuaRocks environment with Hererocks:
hererocks venv --lua 5.1 --luarocks ^
source venv/bin/activate-
Install the required dependencies on your system:
libastal-gitlibastal-4-gitgtk3gtk4
-
Clone the repository:
git clone https://github.com/tokyob0t/astal-lua.git
cd astal-lua- Build:
luarocks --lua-version=5.4 makeTip
LGI is officially supported and can be used to interact with GTK from Lua. However, LuaGObject is recommended, as it provides better bindings and a more modern interface for working with GObject-based libraries such as Gtk-4.0 and Adw-1.