mirror of
https://github.com/eRgo35/dots.git
synced 2025-12-16 23:46:13 +01:00
dwm flexipatch
This commit is contained in:
16
dwm/.dwm/patch/restartsig.c
Normal file
16
dwm/.dwm/patch/restartsig.c
Normal file
@@ -0,0 +1,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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user