dotfiles/system-specific/cheems/polybar/polystart.sh

6 lines
123 B
Bash
Raw Normal View History

2020-12-05 08:18:52 +00:00
#!/bin/bash
xrandr --query | grep ' connected' | cut -d' ' -f1 | while read m; do
MONITOR=$m polybar -r bar &
sleep 1
done