mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-11-23 21:14:24 +03:00
add remove, to blurls
This commit is contained in:
parent
5af26a451a
commit
6306d4dae3
@ -579,6 +579,12 @@ void CConfigManager::handleWindowRule(const std::string& command, const std::str
|
||||
}
|
||||
|
||||
void CConfigManager::handleBlurLS(const std::string& command, const std::string& value) {
|
||||
if (value.find("remove,") == 0) {
|
||||
const auto TOREMOVE = value.substr(7);
|
||||
m_dBlurLSNamespaces.erase(std::remove(m_dBlurLSNamespaces.begin(), m_dBlurLSNamespaces.end(), TOREMOVE));
|
||||
return;
|
||||
}
|
||||
|
||||
m_dBlurLSNamespaces.emplace_back(value);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user