From 7af193d921dcc52e36b91a67a3433abdd5a994f7 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Sat, 20 Aug 2022 18:57:30 +0200 Subject: [PATCH] reload on input and device hyprctl --- src/debug/HyprCtl.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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