Files
dotfiles/polybar/startup.sh
2024-02-01 00:03:56 +01:00

8 lines
251 B
Bash

killall -q polybar
# Launch bar on each monitor, tray on primary
polybar --list-monitors | while IFS=$'\n' read line; do
monitor=$(echo $line | cut -d':' -f1)
primary=$(echo $line | cut -d' ' -f3)
MONITOR=$monitor polybar --reload "example" &
done