]> git.lizzy.rs Git - bspwm.git/commitdiff
Make the example `bspwmrc`s restart friendly
authorSeerLite <seerlite@tuta.io>
Mon, 27 Jul 2020 04:31:41 +0000 (00:31 -0400)
committerBastien Dejean <nihilhill@gmail.com>
Mon, 27 Jul 2020 09:36:41 +0000 (11:36 +0200)
examples/bspwmrc
examples/panel/bspwmrc

index 279c79d39e131eef9c4e840f182e8f12115c5602..ab87d7fabfdb3943430a6648b0c65836b93c6ad4 100755 (executable)
@@ -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
 
index 7ecb01a1e86ddc97b47db79ea50e334f1a8d1181..17a8ddcbf701704640e069f5cc7500d1c7d66beb 100755 (executable)
@@ -1,4 +1,3 @@
 #! /bin/sh
 
-[ -e "$PANEL_FIFO" ] && bspc subscribe report > "$PANEL_FIFO" &
 pgrep -x panel > /dev/null || panel &