mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-04 22:22:00 -07:00
reload keyboards if input changed in hyprctl
This commit is contained in:
@@ -103,6 +103,9 @@ std::string dispatchKeyword(std::string in) {
|
|||||||
if (COMMAND == "monitor")
|
if (COMMAND == "monitor")
|
||||||
g_pConfigManager->m_bWantsMonitorReload = true; // for monitor keywords
|
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());
|
Debug::log(LOG, "Hyprctl: keyword %s : %s", COMMAND.c_str(), VALUE.c_str());
|
||||||
|
|
||||||
if (retval == "")
|
if (retval == "")
|
||||||
|
Reference in New Issue
Block a user