DSK: Update, make Polybar script more robust

This commit is contained in:
Salt 2018-11-15 16:41:32 -06:00
parent d3964de65c
commit da19bdf5d6
2 changed files with 7 additions and 1 deletions

View File

@ -25,5 +25,11 @@ for monitor in $secondary_monitors; do
polybar -r secondary-2 &
done
# Trap our exit
die() {
pkill -P "$PID"
}
trap die EXIT
# And wait
wait

2
.dsk

@ -1 +1 @@
Subproject commit b9d1c9e20d30ea49b40b981b935b7c3de18fda52
Subproject commit 2f8a0b76bf7da93d92a2e668fd17ada17a8468bc