hyprctl-nopoll
This commit is contained in:
parent
f024d7114f
commit
82aa78916d
5 changed files with 34 additions and 96 deletions
|
|
@ -6,7 +6,6 @@
|
|||
|
||||
namespace HyprCtl {
|
||||
void startHyprCtlSocket();
|
||||
void tickHyprCtl();
|
||||
|
||||
// very simple thread-safe request method
|
||||
inline bool requestMade = false;
|
||||
|
|
@ -15,7 +14,9 @@ namespace HyprCtl {
|
|||
|
||||
inline std::ifstream requestStream;
|
||||
|
||||
inline std::thread tThread;
|
||||
inline wl_event_source* hyprCtlTickSource = nullptr;
|
||||
|
||||
inline int iSocketFD = -1;
|
||||
|
||||
enum eHyprCtlOutputFormat {
|
||||
FORMAT_NORMAL = 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue