From f46b64defe01b0815d2e2ef9be198096d2d46e88 Mon Sep 17 00:00:00 2001 From: Gardouille Date: Wed, 10 May 2023 11:20:08 +0200 Subject: [PATCH] Unmute|mute and pause current player --- pomodorrior | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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}"