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 &
|
||||
services="sxhkd polybar conky dunst compton"
|
||||
for service in $services; do
|
||||
if $(pgrep $service); then
|
||||
kill $(pgrep $service)
|
||||
fi
|
||||
done
|
||||
# Don't start the compositor in a VM
|
||||
if [[ $(hostname) != "vm"* ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user