mirror of
https://github.com/hyprwm/Hypr.git
synced 2024-11-22 13:35:57 +01:00
Add lastworkspace configuration handler option
This commit is contained in:
parent
595b186477
commit
32e4d99929
1 changed files with 2 additions and 1 deletions
|
@ -119,6 +119,7 @@ void handleBind(const std::string& command, const std::string& value) {
|
|||
if (HANDLER == "movefocus") dispatcher = KeybindManager::movefocus;
|
||||
if (HANDLER == "movetoworkspace") dispatcher = KeybindManager::movetoworkspace;
|
||||
if (HANDLER == "workspace") dispatcher = KeybindManager::changeworkspace;
|
||||
if (HANDLER == "lastworkspace") dispatcher = KeybindManager::changetolastworkspace;
|
||||
if (HANDLER == "togglefloating") dispatcher = KeybindManager::toggleActiveWindowFloating;
|
||||
|
||||
if (dispatcher && KEY != 0)
|
||||
|
@ -543,4 +544,4 @@ std::vector<SWindowRule> ConfigManager::getMatchingRules(xcb_window_t w) {
|
|||
}
|
||||
|
||||
return returns;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue