dotfiles/.config/suckless/dwm/patch/restartsig.c
2024-04-23 07:46:41 +05:00

17 lines
144 B
C

static int restart = 0;
void
sighup(int unused)
{
Arg a = {.i = 1};
quit(&a);
}
void
sigterm(int unused)
{
Arg a = {.i = 0};
quit(&a);
}