diff options
author | Luke Smith <luke@lukesmith.xyz> | 2020-04-26 11:18:07 -0400 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2020-04-26 11:18:07 -0400 |
commit | d6dfa585fc854cda143197c5b7873ab9c9afd0aa (patch) | |
tree | 7207fed8de19242086561ed1969212b264f1ea3e | |
parent | cbc2657c0f55902f7d7f3d995a1acac595bdc84b (diff) |
don't necessarily restart dwmblocks
-rw-r--r-- | dwm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1593,7 +1593,7 @@ run(void) void runAutostart(void) { - system("killall dwmblocks 2>/dev/null ; dwmblocks &"); + system("pidof -s dwmblocks >/dev/null || dwmblocks &"); } void |