Use enum for specifying hyprctl output format and change the way flags
are passed for json output
This commit is contained in:
parent
036f431206
commit
2402f2e364
4 changed files with 61 additions and 43 deletions
|
|
@ -14,4 +14,9 @@ namespace HyprCtl {
|
|||
inline std::string request = "";
|
||||
|
||||
inline std::ifstream requestStream;
|
||||
|
||||
enum eHyprCtlOutputFormat {
|
||||
FORMAT_NORMAL = 0,
|
||||
FORMAT_JSON
|
||||
};
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue