hyprtester/src/hyprctlCompat.hpp
raw| 1 | #pragma once |
| 2 | |
| 3 | #include <vector> |
| 4 | #include <string> |
| 5 | #include <cstdint> |
| 6 | |
| 7 | struct SInstanceData { |
| 8 | std::string id; |
| 9 | uint64_t time; |
| 10 | uint64_t pid; |
| 11 | std::string wlSocket; |
| 12 | bool valid = true; |
| 13 | }; |
| 14 | |
| 15 | std::vector<SInstanceData> instances(); |
| 16 | std::string getFromSocket(const std::string& cmd); |