Skip to content

Commit

Permalink
Audio play in background to get a real accurate regular timer
Browse files Browse the repository at this point in the history
  • Loading branch information
yoarch committed Nov 26, 2022
1 parent b1b87b5 commit 46992c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions timer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,6 @@ do
((i+=1))
echo -e "\t\t${BWHITE}Timer $i${NC} ($(date +"%T"))"
if $play_audio ; then
mpv $audio_path --really-quiet
mpv $audio_path --really-quiet > /dev/null 2>&1 &
fi
done
done

0 comments on commit 46992c8

Please sign in to comment.