diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-04-22 14:11:52 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-04-22 14:11:52 +0200 |
| commit | 15eb844260965dfeeddf9a684e00175bac62ee9b (patch) | |
| tree | 9d72075ce85606c8b7f4719f91fcc98e25472dac /src/debug | |
| parent | 091048412a35b2f1d4d1be2a065b8802d964bc5c (diff) | |
reload keyboards if input changed in hyprctl
Diffstat (limited to 'src/debug')
| -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 160eaff6..123f3ceb 100644 --- a/src/debug/HyprCtl.cpp +++ b/src/debug/HyprCtl.cpp @@ -103,6 +103,9 @@ std::string dispatchKeyword(std::string in) { if (COMMAND == "monitor") g_pConfigManager->m_bWantsMonitorReload = true; // for monitor keywords + if (COMMAND.find("input") != std::string::npos) + g_pInputManager->setKeyboardLayout(); // update kb layout + Debug::log(LOG, "Hyprctl: keyword %s : %s", COMMAND.c_str(), VALUE.c_str()); if (retval == "") |
