diff options
| author | UjinT34 <41110182+UjinT34@users.noreply.github.com> | 2025-06-05 17:56:46 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-05 15:56:46 +0100 |
| commit | abdfc5ea40c0793117f34bf6c465840500cf7cb0 (patch) | |
| tree | a7f8060d2eb7412d2c34bc863296d6e38c421a1f /src/debug/HyprCtl.cpp | |
| parent | 59c886d85500cf4c8ae11eaf2ebe50ec25b596f6 (diff) | |
config: add a new monitor v2 config syntax (#9761)
Diffstat (limited to 'src/debug/HyprCtl.cpp')
| -rw-r--r-- | src/debug/HyprCtl.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/debug/HyprCtl.cpp b/src/debug/HyprCtl.cpp index 77f54c2b..11f8b39a 100644 --- a/src/debug/HyprCtl.cpp +++ b/src/debug/HyprCtl.cpp @@ -1109,6 +1109,9 @@ static std::string dispatchKeyword(eHyprCtlOutputFormat format, std::string in) if (COMMAND == "monitor" || COMMAND == "source") g_pConfigManager->m_wantsMonitorReload = true; // for monitor keywords + if (COMMAND.contains("monitorv2")) + g_pEventLoopManager->doLater([] { g_pConfigManager->m_wantsMonitorReload = true; }); + if (COMMAND.contains("input") || COMMAND.contains("device") || COMMAND == "source") { g_pInputManager->setKeyboardLayout(); // update kb layout g_pInputManager->setPointerConfigs(); // update mouse cfgs |
