From 8f41d7989fcb0b62cf756c84b8ad6e3f9c24c31d Mon Sep 17 00:00:00 2001 From: SeerLite Date: Mon, 27 Jul 2020 00:31:41 -0400 Subject: [PATCH] Make the example `bspwmrc`s restart friendly --- examples/bspwmrc | 2 +- examples/panel/bspwmrc | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/bspwmrc b/examples/bspwmrc index 279c79d..ab87d7f 100755 --- a/examples/bspwmrc +++ b/examples/bspwmrc @@ -1,6 +1,6 @@ #! /bin/sh -sxhkd & +pgrep -x sxhkd > /dev/null || sxhkd & bspc monitor -d I II III IV V VI VII VIII IX X diff --git a/examples/panel/bspwmrc b/examples/panel/bspwmrc index 7ecb01a..17a8ddc 100755 --- a/examples/panel/bspwmrc +++ b/examples/panel/bspwmrc @@ -1,4 +1,3 @@ #! /bin/sh -[ -e "$PANEL_FIFO" ] && bspc subscribe report > "$PANEL_FIFO" & pgrep -x panel > /dev/null || panel & -- 2.44.0