Files
wiz/config.def.h
2024-02-20 21:39:29 -05:00

11 lines
375 B
C

#define CMD(...) (char*[]){ __VA_ARGS__, NULL }
static const int killchild = 1; /* kill idle command on wake and vice versa */
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") },
};