diff options
| author | vaxerski <vaxry@vaxry.net> | 2023-01-22 16:51:32 +0100 |
|---|---|---|
| committer | vaxerski <vaxry@vaxry.net> | 2023-01-22 16:51:32 +0100 |
| commit | b963a6624e544f7dde99d00585cb8f58fee0e723 (patch) | |
| tree | 5345318c42d8a6f3f79df19e06f84f73384698fa /src/debug/HyprCtl.cpp | |
| parent | ef90a7ad134ab57f734773c45af254b7bc876594 (diff) | |
more verbose logging on invalid var 1 in seterror
Diffstat (limited to 'src/debug/HyprCtl.cpp')
| -rw-r--r-- | src/debug/HyprCtl.cpp | 4 |
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"; } |
