mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-07-31 20:21:54 -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) {
|
||||
g_pHyprError->destroy();
|
||||
|
||||
if (vars.size() == 2 && !vars[1].find("dis"))
|
||||
return "var 1 not color or disable";
|
||||
|
||||
return "ok";
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user