mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 17:05:59 +01:00
more verbose logging on invalid var 1 in seterror
This commit is contained in:
parent
ef90a7ad13
commit
b963a6624e
1 changed files with 4 additions and 0 deletions
|
@ -812,6 +812,10 @@ std::string dispatchSeterror(std::string request) {
|
|||
|
||||
if (vars.size() < 3) {
|
||||
g_pHyprError->destroy();
|
||||
|
||||
if (vars.size() == 2 && !vars[1].find("dis"))
|
||||
return "var 1 not color or disable";
|
||||
|
||||
return "ok";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue