tuse notify-send instead of speech synthesis - exercise_time - announce workout exercises with notifications and speech synth
 (HTM) git clone git://src.adamsgaard.dk/exercise_time
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) LICENSE
       ---
 (DIR) commit 7a205c02112c1641e24438e3894739dede8c39a4
 (DIR) parent d12925842b23e422df3e7e9f4fef4d2aeb18f89a
 (HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
       Date:   Wed, 22 Oct 2014 09:22:36 +0200
       
       use notify-send instead of speech synthesis
       
       Diffstat:
         M exercise_time.sh                    |       7 +++++--
       
       1 file changed, 5 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/exercise_time.sh b/exercise_time.sh
       t@@ -18,10 +18,13 @@ if [ "$1" == "-h" ]; then
        fi
        
        # stop mpd if it is running
       -mpc stop &> /dev/null
       +#mpc pause &> /dev/null
        
        # announce exercise the specified number of times
        for ((i=0; i<$1; i++)); do
       -    echo "It's exercise time! $2" | festival --tts
       +    #mpc pause &> /dev/null
       +    #echo "It's exercise time! $2" | festival --tts
       +    notify-send "It's exercise time! $2"
       +    #mpc play &> /dev/null
            sleep $WAITSECS
        done