Quick Timer ScriptThis is a really quick (but useful) countdown timer script for BASH. I call it (in a new terminal window) from tint2's clock, which makes it nice and accessible. I put it together because all the other timers and alarm clocks were complicated; I just want something to bother me when the laundry's done... and let me know how many minutes are left. An egg timer I can hear when I have headphones in...
echo -e "\E[0;36mPlease input the time you want to timer for in minutes."; tput sgr0
while [ $number -gt 0 ]; do
echo The number of minutes remaining is $number
while [ $COUNTER -lt 10 ]; do
#this calls a libnotify alert
notify-send --icon=config-date "WAKE UP"
#I like the Torchwood theme as an alarm... but you can use whatever you like.
mpg123 -q /home/username/sounds/Torchwood.mp3