diff options
| author | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2022-12-16 17:17:31 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-16 17:17:31 +0000 |
| commit | 98a4fa2b0d79298fa29b048a3ba15c3bf5aed8cd (patch) | |
| tree | 64e78342cf08e5f9ad87bd5f6ea36233133be7bb /src/debug/HyprCtl.hpp | |
| parent | 7c33c7fc64203c17b4f3625a16ae6b4774992c0e (diff) | |
Added clang format (#1239)
* clang-format stuff and format files
Diffstat (limited to 'src/debug/HyprCtl.hpp')
| -rw-r--r-- | src/debug/HyprCtl.hpp | 15 |
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 }; |
