Commit 56dcc16a authored by Dominik V. Salonen's avatar Dominik V. Salonen

Add polybar launch script

parent 5adc63f6
#!/usr/bin/env sh
# Terminate already running bar instances
killall -q polybar
# Wait until the processes have been shut down
while pgrep -x polybar >/dev/null; do sleep 1; done
# Launch polybar
if [ $GDK_SCALE = 1 ]; then
polybar i3-ldpi &
else
polybar i3 &
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment