dotfiles/.config/suckless/dwm/patch/restartsig.c

17 lines
144 B
C
Raw Normal View History

2024-04-23 04:34:15 +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);
}