summaryrefslogtreecommitdiff
path: root/src/debug/HyprCtl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug/HyprCtl.hpp')
-rw-r--r--src/debug/HyprCtl.hpp15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/debug/HyprCtl.hpp b/src/debug/HyprCtl.hpp
index 0dd4f741..26859692 100644
--- a/src/debug/HyprCtl.hpp
+++ b/src/debug/HyprCtl.hpp
@@ -5,20 +5,21 @@
#include "../helpers/MiscFunctions.hpp"
namespace HyprCtl {
- void startHyprCtlSocket();
+ void startHyprCtlSocket();
// very simple thread-safe request method
- inline bool requestMade = false;
- inline bool requestReady = false;
- inline std::string request = "";
+ inline bool requestMade = false;
+ inline bool requestReady = false;
+ inline std::string request = "";
- inline std::ifstream requestStream;
+ inline std::ifstream requestStream;
inline wl_event_source* hyprCtlTickSource = nullptr;
- inline int iSocketFD = -1;
+ inline int iSocketFD = -1;
- enum eHyprCtlOutputFormat {
+ enum eHyprCtlOutputFormat
+ {
FORMAT_NORMAL = 0,
FORMAT_JSON
};