summaryrefslogtreecommitdiff
path: root/hyprtester/src/hyprctlCompat.hpp
blob: bf4ce2a7edf53ba3e028995671ad3167b2b3407c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

#include <vector>
#include <string>
#include <cstdint>

struct SInstanceData {
    std::string id;
    uint64_t    time;
    uint64_t    pid;
    std::string wlSocket;
    bool        valid = true;
};

std::vector<SInstanceData> instances();
std::string                getFromSocket(const std::string& cmd);