From: SeerLite Date: Mon, 27 Jul 2020 04:31:41 +0000 (-0400) Subject: Make the example `bspwmrc`s restart friendly X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=8f41d7989fcb0b62cf756c84b8ad6e3f9c24c31d;p=bspwm.git Make the example `bspwmrc`s restart friendly --- 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 &