mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-29 22:05:58 +01:00
reload keyboards if input changed in hyprctl
This commit is contained in:
parent
091048412a
commit
15eb844260
1 changed files with 3 additions and 0 deletions
|
@ -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 == "")
|
||||
|
|
Loading…
Reference in a new issue