mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-06 15:11:57 -07:00
Allow monitor disabled too
This commit is contained in:
@@ -142,11 +142,11 @@ void CConfigManager::handleMonitor(const std::string& command, const std::string
|
|||||||
|
|
||||||
nextItem();
|
nextItem();
|
||||||
|
|
||||||
if (curitem == "disable") {
|
if (curitem == "disable" || curitem == "disabled") {
|
||||||
newrule.disabled = true;
|
newrule.disabled = true;
|
||||||
|
|
||||||
m_dMonitorRules.push_back(newrule);
|
m_dMonitorRules.push_back(newrule);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user