diff --git a/pomodorrior b/pomodorrior index 360075d..66793b0 100755 --- a/pomodorrior +++ b/pomodorrior @@ -59,8 +59,10 @@ command task stop "${TASK_ID}" printf '%b' "${TASK_NAME} stopped.\n" ## Break time -# Toggle the sound -pulsemixer --toggle-mute +# Mute the sound +pulsemixer --mute +# Pause any running multimedia player +~/bin/multimedia.controller.sh --command pause BREAK_MSG="Pause" BREAK_TIME="${SHORT_BREAK_TIME}" @@ -74,7 +76,7 @@ while [ "${BREAK_TIME}" -gt 0 ]; do done # Toggle the sound -pulsemixer --toggle-mute +pulsemixer --unmute # Delete the task file rm -f "${TASK_PATH}"