diff --git a/pomodoro b/pomodoro index 75b8f46..577b327 100755 --- a/pomodoro +++ b/pomodoro @@ -52,7 +52,7 @@ done # Write logs printf '%b' "$(date +"%A (%F) ${startedTime} → %H:%M") ${TASK_NAME}\n" >> "${LOG_TASK_PATH}" -# Toggle the sound to (un)mute to +# Toggle the sound amixer -q set Master toggle # Start break @@ -72,6 +72,9 @@ while [ "${BREAK_TIME}" -gt 0 ]; do printf '%b' "${BREAK_MSG}\n${BREAK_TIME}" > "${TASK_PATH}" done +# Toggle the sound +amixer -q set Master toggle + # Delete the task file rm -f "${TASK_PATH}"