hyprctl: fix typo in seterror

fixes #11297
This commit is contained in:
Vaxry 2025-08-03 13:21:29 +02:00
parent 824438949e
commit bfe7e090bc
No known key found for this signature in database
GPG key ID: 665806380871D640

View file

@ -1367,7 +1367,7 @@ static std::string dispatchSeterror(eHyprCtlOutputFormat format, std::string req
if (vars.size() < 3) {
g_pHyprError->destroy();
if (vars.size() == 2 && !vars[1].find("dis"))
if (vars.size() == 2 && !vars[1].contains("dis"))
return "var 1 not color or disable";
return "ok";