1 2 3 4 5 6
#!/bin/sh polybar-msg cmd quit echo "---" >> /tmp/polybar.log polybar bar1 --reload >> /tmp/polybar.log 2>&1 & disown