13 lines
223 B
C++
13 lines
223 B
C++
#include <iostream>
|
|
|
|
#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;
|
|
}
|