dotfiles/files/launch-polybar.sh

10 lines
209 B
Bash
Raw Normal View History

2018-11-18 20:26:59 +00:00
#!/usr/bin/env bash
# From: https://github.com/jaagr/polybar/issues/763#issuecomment-392960721
pkill polybar
for m in $(polybar --list-monitors | cut -d":" -f1); do
2018-11-18 22:00:29 +00:00
MONITOR=$m polybar --reload top &
2018-11-18 20:26:59 +00:00
done