Make panel_update.sh more reliable

This commit is contained in:
Henrik Lissner 2016-11-03 18:48:27 +01:00
parent 0b9e8b69d2
commit 3111693cc0

View file

@ -15,7 +15,8 @@ then
exit 2 exit 2
fi fi
pkill -f "bash \./$1\.sh" . $CWD/panel_config
pushd $CWD/lemons >/dev/null pkill -f "bash \./lemons/$1\.sh"
./$1.sh | ../panel.sh & pushd "$CWD" >/dev/null
./lemons/$1.sh > "$PANEL_FIFO" &
popd >/dev/null popd >/dev/null