-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtime_check.sh
More file actions
executable file
·20 lines (19 loc) · 868 Bytes
/
time_check.sh
File metadata and controls
executable file
·20 lines (19 loc) · 868 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#--------------------------------------------------------------------------
# Time checking function
#--------------------------------------------------------------------------
f=$(date +'%I')
f1=$(date +'%M')
f2=$(date +'%S')
f3=$(date +'%p')
#--------------------------------------------------------------------------
espeak -g10 -s180 " Time" -w foo.wav
vlc --fullscreen --effect-list=spectrometer foo.wav
#espeak -g10 -s180 "$f Hour"
#espeak -g10 -s180 "$f1 minute"
espeak -g10 -s180 " $f Hour $f1 minute $f2 second" -w foo.wav
vlc --fullscreen --effect-list=spectrometer foo.wav
sleep 1
echo " ---------------------------------------------------------------------"
echo " Time : $f : $f1 :$f2 $f3 "
echo " ---------------------------------------------------------------------"
#--------------------------------------------------------------------------