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

6 lines
123 B
Bash

#!/bin/bash
xrandr --query | grep ' connected' | cut -d' ' -f1 | while read m; do
MONITOR=$m polybar -r bar &
sleep 1
done