Polybar: Fix logging

This commit is contained in:
Salt 2018-07-31 20:05:24 -05:00
parent 36c39f9b94
commit 651277552b

View File

@ -13,7 +13,7 @@ export PB_MONITOR=$(xrandr -q | awk '/primary/{print $1}')
if [[ $PB_MONITOR == "" ]]; then
unset PB_MONITOR
fi
printf '[INFO] Starting Polybar primary on monitor $PB_MONITOR'
printf "[INFO] Starting Polybar primary on monitor $PB_MONITOR"
polybar -r primary&
polybar -r primary-2&
# ...and then moving on to secondaries, if we have them
@ -25,7 +25,7 @@ if [[ $secondary_monitors == "" ]]; then
exit 0
fi
for monitor in $secondary_monitors; do
printf '[INFO] Starting Polybar secondary on monitor $monitor'
printf "[INFO] Starting Polybar secondary on monitor $monitor"
PB_MONITOR=$monitor polybar -r secondary
done