initial commit

This commit is contained in:
2024-02-20 20:49:57 -05:00
commit f6475ab4ce
7 changed files with 955 additions and 0 deletions

10
config.def.h Normal file
View File

@ -0,0 +1,10 @@
#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") },
};