~kris/suckless

dwm

ref: 52d7975c56557b19189c30f9b63f706083d0d19b dwm/patch/restartsig.c -rw-r--r-- 144 bytes
52d7975c — Kris Yotam Seamless dwm renew: preserve dwmblocks, monitor state, and xresources 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
static int restart = 0;

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

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