aboutsummaryrefslogtreecommitdiffstats
path: root/config.def.h
blob: a2c047c3f1cb0c2d8fa53bb6946ccfc4e8b401b8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#define CMD(...) (char*[]){ __VA_ARGS__, NULL }

static const int killchild = 1; /* kill idle command on wake and vice versa */
static const int nozombies = 1; /* removes all zombies, when disabled wiz tries
                                   to leave the last child as a zombie */

struct Events events[] = {
  /* idle time (ms) run on idle run on wake */
  /* example idle command which echos "idle" after 1 second
  of being idle, and "awake" after being woken up: */
  { 1000, CMD("echo", "idle"), CMD("echo", "awake") },
};