Simple bash script that annouces the time every hour, much like in macos:
Inspired by this stack exchange question:
It uses festival
as its text-to-speech engine:
- Install
festival
withapt-get
:
$ sudo apt-get install festival
- Clone this repo to your home directory:
$ git clone https://github.com/librity/announce_the_time.git ~/.announce_the_time
- Open/create your
crontab
:
$ EDITOR="nano" VISUAL="nano" crontab -e
- Add this job to your
crontab
and save it:
@hourly ~/.announce_the_time/on_the_hour.sh
- Verify that the job was added to your
crontab
:
$ crontab -l