Update polybar

This commit is contained in:
Marco Thomas
2021-03-21 11:15:28 +01:00
parent 3d0e3cbcbf
commit 56f57ce801
2 changed files with 62 additions and 44 deletions

View File

@@ -3,6 +3,7 @@ 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
MONITOR=$mon polybar --reload bottom &
if [ $mon = "eDP" ]; then
MONITOR=$mon polybar --reload laptop &
else