mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-26 12:49:50 +01:00
warn about outdated keybind cfg
This commit is contained in:
parent
0f63077a07
commit
da725d7aa5
1 changed files with 5 additions and 0 deletions
|
@ -692,6 +692,11 @@ void CConfigManager::handleBind(const std::string& command, const std::string& v
|
|||
return;
|
||||
}
|
||||
|
||||
if (KEY == "exclam" || KEY == "asciicircum" || KEY == "at") { // just some
|
||||
parseError = "Your config contains (probably) wrong keys. The SHIFT keysym behavior has changed after v0.10.3beta. Please consult the wiki (Advanced configuring -> binds)";
|
||||
return;
|
||||
}
|
||||
|
||||
if (KEY != "") {
|
||||
if (isNumber(KEY) && std::stoi(KEY) > 9)
|
||||
g_pKeybindManager->addKeybind(SKeybind{"", std::stoi(KEY), MOD, HANDLER, COMMAND, locked, m_szCurrentSubmap, release, repeat});
|
||||
|
|
Loading…
Reference in a new issue