#include #include "sway_bindings/swaymsg.h" #include "sway_bindings/Sway.h" int main() { auto sway = Sway(); auto resp = sway.sendIPC(SWAY_GET_TREE); std::cout << resp.msg << "\n"; return 0; }