mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 19:26:00 +01:00
Allow monitor disabled too
This commit is contained in:
parent
4a966c945b
commit
4f83adcdb9
1 changed files with 2 additions and 2 deletions
|
@ -142,11 +142,11 @@ void CConfigManager::handleMonitor(const std::string& command, const std::string
|
|||
|
||||
nextItem();
|
||||
|
||||
if (curitem == "disable") {
|
||||
if (curitem == "disable" || curitem == "disabled") {
|
||||
newrule.disabled = true;
|
||||
|
||||
m_dMonitorRules.push_back(newrule);
|
||||
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue