@@ 76,7 76,7 @@ case "$st" in
round=1
change_state "active" $(date +%s)
- update_display "$FOCUS_LABEL" $FOCUS_SECS
+ update_display "$FOCUS_LABEL" "$FOCUS_SECS"
;;
4)
# Scroll up
@@ 108,10 108,10 @@ case "$st" in
elapsed=$((now - t))
if [ $elapsed -ge $FOCUS_SECS ]; then
change_state "pause" $now
- update_display "$PAUSE_LABEL" $PAUSE_SECS
+ update_display "$PAUSE_LABEL" "$PAUSE_SECS"
else
left=$((FOCUS_SECS - elapsed))
- update_display "$FOCUS_LABEL" $left
+ update_display "$FOCUS_LABEL" "$left"
fi
;;
esac
@@ 133,11 133,11 @@ case "$st" in
full_text=" $INACTIVE_LABEL (rounds = $nrounds) "
else
change_state "active" $now
- update_display "$FOCUS_LABEL" $FOCUS_SECS
+ update_display "$FOCUS_LABEL" "$FOCUS_SECS"
fi
else
left=$((PAUSE_SECS - elapsed))
- update_display "$PAUSE_LABEL" $left
+ update_display "$PAUSE_LABEL" "$left"
fi
;;
esac