2018-10-06 10:27:36 +02:00
|
|
|
#!/usr/bin/env sh
|
|
|
|
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
|
|
|
|
|
|
|
|
ex="$DIR/bar.py"
|
|
|
|
|
|
|
|
# Terminate already running bar instances
|
2020-01-06 16:23:50 +01:00
|
|
|
ps x | grep "python3 $ex" | grep -v grep | awk '{print $1}' | while read p; do kill $p; done
|
2018-10-06 10:27:36 +02:00
|
|
|
killall -q lemonbar
|
|
|
|
|
|
|
|
$ex
|
|
|
|
|
|
|
|
|