summaryrefslogtreecommitdiff
path: root/src/debug/HyprCtl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug/HyprCtl.cpp')
-rw-r--r--src/debug/HyprCtl.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/debug/HyprCtl.cpp b/src/debug/HyprCtl.cpp
index f5494415..63dbf411 100644
--- a/src/debug/HyprCtl.cpp
+++ b/src/debug/HyprCtl.cpp
@@ -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";
}