mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-02 16:05:58 +01:00
reload layout on hyprctl layout
This commit is contained in:
parent
cb2989cec5
commit
1848086abd
1 changed files with 3 additions and 0 deletions
|
@ -456,6 +456,9 @@ std::string dispatchKeyword(std::string in) {
|
|||
if (COMMAND.contains("input"))
|
||||
g_pInputManager->setKeyboardLayout(); // update kb layout
|
||||
|
||||
if (COMMAND.contains("general:layout"))
|
||||
g_pLayoutManager->switchToLayout(g_pConfigManager->getString("general:layout")); // update layout
|
||||
|
||||
Debug::log(LOG, "Hyprctl: keyword %s : %s", COMMAND.c_str(), VALUE.c_str());
|
||||
|
||||
if (retval == "")
|
||||
|
|
Loading…
Reference in a new issue