polybar-dwm/include/utils/i3.hpp
2016-11-03 12:54:32 +01:00

19 lines
390 B
C++

#pragma once
#include <i3ipc++/ipc.hpp>
#include "common.hpp"
#include "x11/connection.hpp"
#include "x11/randr.hpp"
LEMONBUDDY_NS
namespace i3_util {
using connection_t = i3ipc::connection;
vector<xcb_window_t> root_windows(connection& conn, string output_name = "");
bool restack_above_root(connection& conn, const monitor_t& mon, const xcb_window_t win);
}
LEMONBUDDY_NS_END