dwm.c: Kill autostart processes with TERM, then if no response in 100ms, kill them with HUP
Signed-off-by: Страхиња Радић <contact@strahinja.org>
config.h,config.def.h: Remove obsolete parameter to picom
Signed-off-by: Страхиња Радић <contact@strahinja.org>
pickchar: Simplify unicode output and make it independent of GNU coreutils
Signed-off-by: Страхиња Радић <contact@strahinja.org>
dwm.c: Kill autostart processes with TERM, then if no response in 100ms, kill them with HUP
Signed-off-by: Страхиња Радић <contact@strahinja.org>
Makefile: remove the options target
The Makefile used to suppress output (by using @), so this target made sense at
the time.
But the Makefile should be simple and make debugging with less abstractions or
fancy printing. The Makefile was made verbose and doesn't hide the build
output, so remove this target.
Prompted by a question on the mailing list about the options target.
config.h,config.def.h: Remove obsolete parameter to picom
Signed-off-by: Страхиња Радић <contact@strahinja.org>
pickchar: Simplify unicode output and make it independent of GNU coreutils
Signed-off-by: Страхиња Радић <contact@strahinja.org>
restore SIGCHLD sighandler to default before spawning a program
From sigaction(2):
A child created via fork(2) inherits a copy of its parent's signal dispositions.
During an execve(2), the dispositions of handled signals are reset to the default;
the dispositions of ignored signals are left unchanged.
This refused to start directly some programs from configuring in config.h:
static Key keys[] = {
MODKEY, XK_o, spawn, {.v = cmd } },
};
Some reported programs that didn't start were: mpv, anki, dmenu_extended.
Reported by pfx.
Initial patch suggestion by Storkman.