3
0
mirror of https://github.com/hyprwm/Hyprland.git synced 2026-08-18 11:02:10 +00:00

config/lua: allow re-enabling monitors (#14447)

This commit is contained in:
bizmyth
2026-05-12 07:44:58 -04:00
committed by Vaxry
parent 09240e8031
commit 6a3a8dc1e1

View File

@ -93,8 +93,7 @@ namespace {
}},
{"disabled", []() -> ILuaConfigValue* { return new CLuaConfigBool(false); },
[](ILuaConfigValue* v, CMonitorRuleParser& p) {
if (*sc<const Config::BOOL*>(v->data()))
p.setDisabled();
p.rule().m_disabled = *sc<const Config::BOOL*>(v->data());
return true;
}},
{"transform", []() -> ILuaConfigValue* { return new CLuaConfigInt(0, 0, 7); },