mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-04 06:01:56 -07:00
add remove, to blurls
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user