diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-07-16 22:44:29 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-07-16 22:44:29 +0200 |
| commit | 1848086abd134747eda885392f9ec8ad4efe317c (patch) | |
| tree | d2ed63bf5baf9de9691e46b9cf781c417fea4745 /src/debug/HyprCtl.cpp | |
| parent | cb2989cec50dc15ff0dab16888b38a25f2d4f081 (diff) | |
reload layout on hyprctl layout
Diffstat (limited to 'src/debug/HyprCtl.cpp')
| -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 1e6a8e32..d4f0ae40 100644 --- a/src/debug/HyprCtl.cpp +++ b/src/debug/HyprCtl.cpp @@ -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 == "") |
