bspwm: Stop trying to kill services that don't exist
This commit is contained in:
parent
560e4abc83
commit
da7166381a
@ -87,7 +87,9 @@ xrdbupdate
|
|||||||
feh --randomize --bg-fill ~/Pictures/Wallpapers/.active &
|
feh --randomize --bg-fill ~/Pictures/Wallpapers/.active &
|
||||||
services="sxhkd polybar conky dunst compton"
|
services="sxhkd polybar conky dunst compton"
|
||||||
for service in $services; do
|
for service in $services; do
|
||||||
kill $(pgrep $service)
|
if $(pgrep $service); then
|
||||||
|
kill $(pgrep $service)
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
# Don't start the compositor in a VM
|
# Don't start the compositor in a VM
|
||||||
if [[ $(hostname) != "vm"* ]]; then
|
if [[ $(hostname) != "vm"* ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user