Use Lua for config

Signed-off-by: Slendi <slendi@socopon.com>
This commit is contained in:
2025-08-10 07:25:01 +03:00
parent 4e23877697
commit 146c4e27cf
8 changed files with 504 additions and 21 deletions

View File

@@ -24,6 +24,7 @@ pkg_check_modules(GLES2 REQUIRED IMPORTED_TARGET glesv2)
pkg_check_modules(WLROOTS REQUIRED IMPORTED_TARGET wlroots-0.20)
pkg_check_modules(XKBCOMMON REQUIRED IMPORTED_TARGET xkbcommon)
pkg_check_modules(OPENXR REQUIRED IMPORTED_TARGET openxr)
pkg_check_modules(LUA REQUIRED IMPORTED_TARGET lua)
find_program(WAYLAND_SCANNER_EXECUTABLE wayland-scanner REQUIRED)
message(STATUS "Found wayland-scanner at ${WAYLAND_SCANNER_EXECUTABLE}")
@@ -50,6 +51,7 @@ add_executable(${PROJECT_NAME})
target_sources(${PROJECT_NAME} PUBLIC
src/vec.c
src/Config.c
src/LunarWM.c
src/main.c
)
@@ -60,6 +62,7 @@ target_link_libraries(${PROJECT_NAME} PUBLIC
PkgConfig::GLES2
PkgConfig::WLROOTS
PkgConfig::OPENXR
PkgConfig::LUA
raylib
)