Polybar: Fix logging
This commit is contained in:
parent
36c39f9b94
commit
651277552b
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user