mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 19:26:00 +01:00
add remove, to blurls
This commit is contained in:
parent
5af26a451a
commit
6306d4dae3
1 changed files with 6 additions and 0 deletions
|
@ -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) {
|
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);
|
m_dBlurLSNamespaces.emplace_back(value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue