dotfiles/non-nix/polybar/startup.sh

9 lines
173 B
Bash
Executable File

#!/bin/bash
#boot a polybar for each monitor
pkill polybar
polybar -m | sed s/:.*// | tac | while read -r monitor
do
monitor=$monitor polybar main &> /dev/null &
done