Rename folder

This commit is contained in:
Marco Thomas
2020-09-09 22:56:56 +02:00
parent 35e7a89ade
commit 84372f4c4a
328 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
killall -q polybar
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
if type "xrandr"; then
for mon in $(xrandr --query | grep " connected" | cut -d" " -f1); do
if [ "$1" = "laptop" ]; then
MONITOR=$mon polybar --reload main &
fi
done
else
echo "No Bars loaded."
fi