summaryrefslogtreecommitdiff
path: root/launch_polybar.sh
blob: 9550fb49498e11ca222807429f1cb263713f1d89 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

if type "xrandr"; then
  for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do
    MONITOR=$m polybar --reload $1 &
  done
else
  polybar --reload $1 &
fi