12 lines
209 B
Bash
Executable File
12 lines
209 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -x
|
|
|
|
if type "xrandr"; then
|
|
for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do
|
|
MONITOR=$m polybar --reload dwm &
|
|
done
|
|
else
|
|
polybar --reload dwm &
|
|
fi
|