#pragma once #include "../Compositor.hpp" #include #include "../helpers/MiscFunctions.hpp" namespace HyprCtl { void startHyprCtlSocket(); void tickHyprCtl(); // very simple thread-safe request method inline bool requestMade = false; inline bool requestReady = false; inline std::string request = ""; inline std::ifstream requestStream; inline std::thread tThread; enum eHyprCtlOutputFormat { FORMAT_NORMAL = 0, FORMAT_JSON }; };