I'm wondering if anyone could (or if it's already included in Angstrom) code a small program to audibly announce the time as you choose? (i.e. every half an hour/every hour)
I'm wondering if anyone could (or if it's already included in Angstrom) code a small program to audibly announce the time as you choose? (i.e. every half an hour/every hour)
I'll even write out the code for you (at least most of it)...
CODE
#!/bin/bash
flite "The time is `date +%H%M`"
I think flite needs an option to take input from stdin, but I don't know what it is off the top of my head. You might also want to change the format of the time (that'll say "The time is 2310" at 11:10 PM, for instance).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.