Make Polybar watch for updates

This commit is contained in:
Michael Bradley 2024-01-08 16:28:53 -05:00
parent 4999137e95
commit 0f11826bec

View file

@ -7,10 +7,10 @@ killall -q polybar
if [ "$(uname -n)" == "chonk" ]; then
# Launch Polybar, using default config location ~/.config/polybar/config.ini
polybar main_desktop 2>&1 | tee -a /tmp/polybar-m.log & disown
polybar side_desktop 2>&1 | tee -a /tmp/polybar-s.log & disown
polybar top_desktop 2>&1 | tee -a /tmp/polybar-t.log & disown
polybar -r main_desktop 2>&1 | tee -a /tmp/polybar-m.log & disown
polybar -r side_desktop 2>&1 | tee -a /tmp/polybar-s.log & disown
polybar -r top_desktop 2>&1 | tee -a /tmp/polybar-t.log & disown
else
polybar main_laptop 2>&1 | tee -a /tmp/polybar.log & disown
polybar -r main_laptop 2>&1 | tee -a /tmp/polybar.log & disown
fi