From 4437d5b3c3eea76f6e2b0fd4a2ba21c02a098aeb Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Sat, 8 Mar 2025 15:21:28 +0900 Subject: updates --- dwmblocks/include/x11.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 dwmblocks/include/x11.h (limited to 'dwmblocks/include/x11.h') diff --git a/dwmblocks/include/x11.h b/dwmblocks/include/x11.h new file mode 100644 index 0000000..6faaced --- /dev/null +++ b/dwmblocks/include/x11.h @@ -0,0 +1,13 @@ +#ifndef X11_H +#define X11_H + +#include + +typedef xcb_connection_t x11_connection; + +x11_connection* x11_connection_open(void); +void x11_connection_close(x11_connection* const connection); +int x11_set_root_name(x11_connection* const connection, + const char* const name); + +#endif // X11_H -- cgit v1.2.3