#pragma once #include #include #include #include #include #include "wlr-layer-shell-unstable-v1-client-protocol.h" #include "idle-client-protocol.h" #include "util/ptr_vec.hpp" #include #include "bar.hpp" namespace waybar { struct Client { uint32_t height = 30; std::string css_file = "./resources/style.css"; Gtk::Main gtk_main; Glib::RefPtr gdk_display; struct wl_display *wlDisplay; struct wl_registry *registry; struct zwlr_layer_shell_v1 *layer_shell; struct org_kde_kwin_idle *idle_manager; struct wl_seat *seat; util::ptr_vec bars; struct { sigc::signal workspace_state; sigc::signal focused_window_name; } signals; Client(int argc, char* argv[]); void bind_interfaces(); auto setup_css(); int main(int argc, char* argv[]); }; }