Implement i3 --get-socketpath, useful for IPC scripts

In order to not depend on X11 just for getting the socket paths, scripts or
other programs can now use i3 --get-socketpath. Since i3 must be present on the
computer anyways, this saves one dependency :).
This commit is contained in:
Michael Stapelberg
2011-10-02 16:12:10 +01:00
parent 6af8b0941c
commit 23796ea900
2 changed files with 10 additions and 0 deletions

View File

@ -65,5 +65,6 @@
#include "ewmh.h"
#include "assignments.h"
#include "regex.h"
#include "libi3.h"
#endif