dwm-custom/patch/restartsig.c

17 lines
144 B
C
Raw Normal View History

2024-05-22 17:29:40 +02:00
static int restart = 0;
void
sighup(int unused)
{
Arg a = {.i = 1};
quit(&a);
}
void
sigterm(int unused)
{
Arg a = {.i = 0};
quit(&a);
}