summaryrefslogtreecommitdiff
path: root/dwm.c
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-04-26 11:26:32 -0400
committerLuke Smith <luke@lukesmith.xyz>2020-04-26 11:26:32 -0400
commit18c6a63f865b457b2f6c49c9143bcbaa33b38302 (patch)
tree7207fed8de19242086561ed1969212b264f1ea3e /dwm.c
parentf14d95778796b9400a9fd0881c7564e6f42339fb (diff)
parent990e0239d1582c365c0efc357d8dbd0eaae57308 (diff)
Merge branch 'stuff'
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index cdadd9a..fc80537 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1593,7 +1593,7 @@ run(void)
void
runAutostart(void) {
- system("killall dwmblocks 2>/dev/null ; dwmblocks &");
+ system("pidof -s dwmblocks >/dev/null || dwmblocks &");
}
void