From 4fab2afced44e745d5af85184fd9c3997af2374a Mon Sep 17 00:00:00 2001 From: Vaxry Date: Thu, 7 May 2026 00:39:04 +0100 Subject: config: use lua by default, generate lua if no config present --- src/config/lua/DefaultConfig.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/config/lua/DefaultConfig.hpp') diff --git a/src/config/lua/DefaultConfig.hpp b/src/config/lua/DefaultConfig.hpp index 6fe92679..8911a8cb 100644 --- a/src/config/lua/DefaultConfig.hpp +++ b/src/config/lua/DefaultConfig.hpp @@ -2,7 +2,7 @@ #include -inline constexpr std::string_view AUTOGENERATED_PREFIX = R"#( +inline constexpr std::string_view AUTOGENERATED_PREFIX_LUA = R"#( -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- AUTOGENERATED HYPRLAND CONFIG. -- -- EDIT THIS CONFIG ACCORDING TO THE WIKI INSTRUCTIONS. -- @@ -11,8 +11,8 @@ inline constexpr std::string_view AUTOGENERATED_PREFIX = R"#( hl.config({ autogenerated = true }) -- remove this line to remove the warning )#"; -inline constexpr char EXAMPLE_CONFIG_BYTES[] = { +inline constexpr char EXAMPLE_CONFIG_BYTES_LUA[] = { #embed "../../../example/hyprland.lua" }; -inline constexpr std::string_view EXAMPLE_CONFIG = {EXAMPLE_CONFIG_BYTES, sizeof(EXAMPLE_CONFIG_BYTES)}; +inline constexpr std::string_view EXAMPLE_CONFIG_LUA = {EXAMPLE_CONFIG_BYTES_LUA, sizeof(EXAMPLE_CONFIG_BYTES_LUA)}; -- cgit v1.2.3