From cba6ed9ded46ad258cc643b65c6e55f0f5c0f9f0 Mon Sep 17 00:00:00 2001 From: speediegq Date: Fri, 26 Aug 2022 18:51:41 +0200 Subject: [PATCH] Add some more comments --- ipccmd.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ipccmd.h b/ipccmd.h index cbd26a9..2469bec 100644 --- a/ipccmd.h +++ b/ipccmd.h @@ -1,3 +1,12 @@ +/* This is the header for the IPC feature. + * If you're not going to be using IPC, you can leave this as default, it will compile just fine. + * + * If you are going to use IPC you must follow the points below: + * + * - If you use an operating system that isn't GNU/Linux, edit config.mk and comment out the three lines, then edit toggle.h and set USEIPC to 0. + * - Install the 'yajl' package using your distro's package manager. It will depend on your distribution but on Gentoo the package is named 'yajl'. + * - Set USEIPC to 1 in toggle.h. + static const char *ipcsockpath = "/tmp/speedwm.sock"; static IPCCommand ipccommands[] = { IPCCOMMAND( view, 1, {ARG_TYPE_UINT} ),