aboutsummaryrefslogtreecommitdiff
path: root/src/tsar.c
diff options
context:
space:
mode:
authorne_mene <[email protected]>2026-03-01 14:11:22 +0100
committerne_mene <[email protected]>2026-03-01 14:11:22 +0100
commit6f1203a2990aa00e145d640b0814908ed661cb4e (patch)
treecaa72547194575a64677e5aec3d5302e5c7494e0 /src/tsar.c
parentafd081618ddcd7ee0e76858dafb4fb41cb00251a (diff)
tsarc and named pipe
Diffstat (limited to 'src/tsar.c')
-rw-r--r--src/tsar.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tsar.c b/src/tsar.c
index 67b9e07..b4f9fb2 100644
--- a/src/tsar.c
+++ b/src/tsar.c
@@ -5,6 +5,8 @@
#include <stdarg.h>
#include <string.h>
+#include "pipe.c"
+#include "pipe.h"
#include <xcb/xcb.h>
// #include <X11/Xft/Xft.h>
@@ -92,6 +94,10 @@ void deinit(void) {
}
int main(void) {
+ init_pipe();
+ while (1) {
+ await_change();
+ }
init();
xcb_generic_event_t* ev;