From b6d063c7868d1b459c5069230bfe21becf14c1df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Pankowski?= Date: Mon, 6 Oct 2025 22:55:43 +0200 Subject: [PATCH] agree: change dwm-autodarkmode signal to USR1 and leave restarsig signal to HUP --- dwm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dwm.c b/dwm.c index b7bc294..8ecd569 100644 --- a/dwm.c +++ b/dwm.c @@ -1744,10 +1744,10 @@ setup(void) sa.sa_handler = SIG_IGN; sigaction(SIGCHLD, &sa, NULL); - /* set color mode on SIGHUP */ + /* set color mode on SIGUSR1 */ sigemptyset(&sa.sa_mask); sa.sa_handler = colormodehandler; - sigaction(SIGHUP, &sa, NULL); + sigaction(SIGUSR1, &sa, NULL); /* clean up any zombies (inherited from .xinitrc etc) immediately */ while (waitpid(-1, NULL, WNOHANG) > 0);