From a21473f60c6cfad6335db3b0b45cdff23f8b3a89 Mon Sep 17 00:00:00 2001 From: Matias Linares Date: Thu, 19 Nov 2015 21:11:34 -0300 Subject: Implemented socket handler. First steps on the socket handling. Dotwm will use this for communication between different clients trying to modify the behaviour (just take a look into hlwm's herbstclient program). It's needed a parser for the configuration, make the protocol and get it working better. For now I'm checking if it's anything into the socket every time I've a XEvent. But it shouldn't be this way. --- autostart | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 autostart (limited to 'autostart') diff --git a/autostart b/autostart new file mode 100755 index 0000000..82cc3f6 --- /dev/null +++ b/autostart @@ -0,0 +1,4 @@ +#!/bin/mksh + +echo -n "hola" | netcat -U ./dotwm.sock +echo -n "done" | netcat -U ./dotwm.sock -- cgit v1.2.3-70-g09d2