reload keyboards if input changed in hyprctl

This commit is contained in:
vaxerski 2022-04-22 14:11:52 +02:00
parent 091048412a
commit 15eb844260

View file

@ -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 == "")