Introduction
Introduction Statistics Contact Development Disclaimer Help
tuse notify-send instead of speech synthesis - exercise_time - announce workout…
git clone git://src.adamsgaard.dk/exercise_time
Log
Files
Refs
LICENSE
---
commit 7a205c02112c1641e24438e3894739dede8c39a4
parent d12925842b23e422df3e7e9f4fef4d2aeb18f89a
Author: Anders Damsgaard <[email protected]>
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(-)
---
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
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.