13 lines
385 B
Bash
13 lines
385 B
Bash
#!/usr/bin/env bash
|
|
|
|
# Terminate already running bar instances
|
|
killall -q polybar
|
|
|
|
export DISPLAY=:0
|
|
|
|
# Launch bar1 and bar2
|
|
echo "---" | tee -a /tmp/polybar1.log /tmp/polybar2.log
|
|
polybar --config=~/dotfiles/polybar/config oben 2>&1 | tee -a /tmp/polybar1.log & disown
|
|
polybar --config=~/dotfiles/polybar/config unten 2>&1 | tee -a /tmp/polybar2.log & disown
|
|
|
|
echo "Bars launched..."
|