Replace amixer with pulsemixer

This commit is contained in:
gardouille 2023-05-02 15:59:21 +02:00
parent 60f5788fce
commit 9288ca4228
Signed by: gardouille
GPG Key ID: E759BAA22501AF32
1 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ printf '%b' "${TASK_NAME} stopped.\n"
## Break time
# Toggle the sound
amixer -q set Master toggle
pulsemixer --toggle-mute
BREAK_MSG="Pause"
BREAK_TIME="${SHORT_BREAK_TIME}"
@ -74,7 +74,7 @@ while [ "${BREAK_TIME}" -gt 0 ]; do
done
# Toggle the sound
amixer -q set Master toggle
pulsemixer --toggle-mute
# Delete the task file
rm -f "${TASK_PATH}"