summaryrefslogtreecommitdiff
path: root/src/debug/HyprCtl.hpp
diff options
context:
space:
mode:
authorbazuin-32 <ameenpiano@gmail.com>2022-07-12 14:59:36 -0600
committerbazuin-32 <ameenpiano@gmail.com>2022-07-12 14:59:36 -0600
commit2402f2e36498686dfebe7c06f1203f595b888252 (patch)
tree4d39f52c9e835c6af91b95e026c29c4273cfc760 /src/debug/HyprCtl.hpp
parent036f431206b6c530497fb6e204c9765745c2c17d (diff)
Use enum for specifying hyprctl output format and change the way flags
are passed for json output
Diffstat (limited to 'src/debug/HyprCtl.hpp')
-rw-r--r--src/debug/HyprCtl.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/debug/HyprCtl.hpp b/src/debug/HyprCtl.hpp
index 3da4aa07..60559e9f 100644
--- a/src/debug/HyprCtl.hpp
+++ b/src/debug/HyprCtl.hpp
@@ -14,4 +14,9 @@ namespace HyprCtl {
inline std::string request = "";
inline std::ifstream requestStream;
+
+ enum eHyprCtlOutputFormat {
+ FORMAT_NORMAL = 0,
+ FORMAT_JSON
+ };
}; \ No newline at end of file