mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-23 01:05:59 +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,7 +142,7 @@ 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);
|
||||||
|
|
Loading…
Reference in a new issue