diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-08-20 18:57:30 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-08-20 18:57:30 +0200 |
| commit | 7af193d921dcc52e36b91a67a3433abdd5a994f7 (patch) | |
| tree | a23f4b26b0309df592459d8fdae720d82d90be1e /src/debug | |
| parent | 132c96f867198cb68e77ed9930165c51bb8e49f7 (diff) | |
reload on input and device hyprctl
Diffstat (limited to 'src/debug')
| -rw-r--r-- | src/debug/HyprCtl.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/debug/HyprCtl.cpp b/src/debug/HyprCtl.cpp index 2f5660df..6b89b3c6 100644 --- a/src/debug/HyprCtl.cpp +++ b/src/debug/HyprCtl.cpp @@ -493,8 +493,10 @@ std::string dispatchKeyword(std::string in) { if (COMMAND == "monitor") g_pConfigManager->m_bWantsMonitorReload = true; // for monitor keywords - if (COMMAND.contains("input")) + if (COMMAND.contains("input") || COMMAND.contains("device:")) { g_pInputManager->setKeyboardLayout(); // update kb layout + g_pInputManager->setMouseConfigs(); // update mouse cfgs + } if (COMMAND.contains("general:layout")) g_pLayoutManager->switchToLayout(g_pConfigManager->getString("general:layout")); // update layout |
