mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-23 14:45:59 +01:00
17 lines
No EOL
411 B
C++
17 lines
No EOL
411 B
C++
#pragma once
|
|
|
|
#include "../Compositor.hpp"
|
|
#include <fstream>
|
|
#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;
|
|
}; |