diff options
author | vaxerski <[email protected]> | 2023-03-02 20:50:37 +0000 |
---|---|---|
committer | vaxerski <[email protected]> | 2023-03-02 20:50:37 +0000 |
commit | 489ef7c51c7d33eeba6d6a66b6697f52441ddf45 (patch) | |
tree | b42f80f5f8e38dc9d5340e1c06366220f24033ca /src | |
parent | 34685a836a40648167848060b48b62788cdcc85f (diff) | |
download | Hyprland-489ef7c51c7d33eeba6d6a66b6697f52441ddf45.tar.gz Hyprland-489ef7c51c7d33eeba6d6a66b6697f52441ddf45.zip |
add toggle group lock
Diffstat (limited to 'src')
-rw-r--r-- | src/managers/KeybindManager.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp index f97347f6..0dadcddd 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -2059,6 +2059,8 @@ void CKeybindManager::fakeFullscreenActive(std::string args) { void CKeybindManager::lockGroups(std::string args) { if (args == "lock" || args.empty() || args == "lockgroups") { g_pKeybindManager->m_bGroupsLocked = true; + } else if (args == "toggle") { + g_pKeybindManager->m_bGroupsLocked = !g_pKeybindManager->m_bGroupsLocked; } else { g_pKeybindManager->m_bGroupsLocked = false; } |