polybar-dwm/include/utils/i3.hpp

19 lines
391 B
C++
Raw Normal View History

#pragma once
2016-11-02 19:22:45 +00:00
#include <i3ipc++/ipc.hpp>
#include "common.hpp"
2016-11-02 19:22:45 +00:00
#include "x11/connection.hpp"
#include "x11/randr.hpp"
2016-10-12 02:24:12 +00:00
2016-11-19 05:22:44 +00:00
POLYBAR_NS
namespace i3_util {
2016-10-12 01:57:22 +00:00
using connection_t = i3ipc::connection;
2016-11-25 12:55:15 +00:00
vector<xcb_window_t> root_windows(connection& conn, const string& output_name = "");
2016-11-02 19:22:45 +00:00
bool restack_above_root(connection& conn, const monitor_t& mon, const xcb_window_t win);
}
2016-11-19 05:22:44 +00:00
POLYBAR_NS_END