pomodoro: Also toggle the sound after the break
This commit is contained in:
parent
2fbb5a8d21
commit
05b08f4247
5
pomodoro
5
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}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user