xsel, locker update, font config & polybar multi-monitor

This commit is contained in:
Tristaan
2018-01-20 15:02:36 +01:00
parent c1260453a1
commit 03870463e6
8 changed files with 17 additions and 9 deletions

View File

@@ -6,7 +6,13 @@ killall -q polybar
# Wait until the processes have been shut down
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
polybar top &
if type "xrandr"; then
for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do
MONITOR=$m polybar --reload top &
done
else
polybar --reload top &
fi
echo "Bars launched..."