don't necessarily restart dwmblocks

This commit is contained in:
Luke Smith 2020-04-26 11:18:07 -04:00
parent cbc2657c0f
commit d6dfa585fc
No known key found for this signature in database
GPG key ID: 4C50B54A911F6252

2
dwm.c
View file

@ -1593,7 +1593,7 @@ run(void)
void
runAutostart(void) {
system("killall dwmblocks 2>/dev/null ; dwmblocks &");
system("pidof -s dwmblocks >/dev/null || dwmblocks &");
}
void