summaryrefslogtreecommitdiff
path: root/src/config/ConfigManager.hpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2025-01-24 20:30:12 +0000
committerVaxry <vaxry@vaxry.net>2025-01-24 20:30:21 +0000
commitd8f79d7678f428738f3173020109bd7b7fbd0840 (patch)
tree8efc7a843e1f82cd7fcfb3c544124075a7d68782 /src/config/ConfigManager.hpp
parent80b2fd135b45f2c2e41ceb312314908f6a3e7b30 (diff)
core: add --verify-config to verify the config with Hyprland
fixes #9135
Diffstat (limited to 'src/config/ConfigManager.hpp')
-rw-r--r--src/config/ConfigManager.hpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/config/ConfigManager.hpp b/src/config/ConfigManager.hpp
index 31ad81cd..564c1ebf 100644
--- a/src/config/ConfigManager.hpp
+++ b/src/config/ConfigManager.hpp
@@ -144,6 +144,7 @@ class CConfigManager {
void init();
void reload();
+ std::string verify();
int getDeviceInt(const std::string&, const std::string&, const std::string& fallback = "");
float getDeviceFloat(const std::string&, const std::string&, const std::string& fallback = "");
@@ -257,9 +258,10 @@ class CConfigManager {
{"scrollmouse", [](const PHLWINDOW& pWindow) { return &pWindow->m_sWindowData.scrollMouse; }},
{"scrolltouchpad", [](const PHLWINDOW& pWindow) { return &pWindow->m_sWindowData.scrollTouchpad; }}};
- bool m_bWantsMonitorReload = false;
- bool m_bNoMonitorReload = false;
- bool isLaunchingExecOnce = false; // For exec-once to skip initial ws tracking
+ bool m_bWantsMonitorReload = false;
+ bool m_bNoMonitorReload = false;
+ bool isLaunchingExecOnce = false; // For exec-once to skip initial ws tracking
+ bool m_bLastConfigVerificationWasSuccessful = true;
private:
UP<Hyprlang::CConfig> m_pConfig;