mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-06 15:11:57 -07:00
more verbose logging on invalid var 1 in seterror
This commit is contained in:
@@ -812,6 +812,10 @@ std::string dispatchSeterror(std::string request) {
|
|||||||
|
|
||||||
if (vars.size() < 3) {
|
if (vars.size() < 3) {
|
||||||
g_pHyprError->destroy();
|
g_pHyprError->destroy();
|
||||||
|
|
||||||
|
if (vars.size() == 2 && !vars[1].find("dis"))
|
||||||
|
return "var 1 not color or disable";
|
||||||
|
|
||||||
return "ok";
|
return "ok";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user