diff --git a/pomodoro.sh b/pomodoro.sh index 7890cce..f7b3446 100755 --- a/pomodoro.sh +++ b/pomodoro.sh @@ -64,7 +64,7 @@ fi BREAK_TIME=${SHORT_BREAK_TIME} printf '%b' "${BREAK_MSG}\n${BREAK_TIME}" > "${TASK_PATH}" -while [ "${BREAK_TIME}" > 0 ]; do +while [ "${BREAK_TIME}" -gt 0 ]; do sleep 60 BREAK_TIME=$((BREAK_TIME-1)) printf '%b' "${BREAK_MSG}\n${BREAK_TIME}" > "${TASK_PATH}"