#!/bin/bash #=============================================================================== # tea timer # # uses osd_cat, see http://ldots.org/xosd-guide/osd_cat.html #=============================================================================== # config message="TEE IST FERTIG!" sleep=$((2 * 60)) # 2 minutes # puts itself in the background ( # sleep a little bit sleep "$sleep" # beep 10 times and flash the message 5 times for i in $(seq 1 5); do echo -en "\007" echo "$message" | osd_cat --pos top --align right --color red --delay 1 --shadow 2 --font "-adobe-helvetica-bold-r-*-*-40-*-*-*-*-*-*-*" --indent 10 --offset 30 echo -en "\007" sleep 1 done ) & #=============================================================================== #:mode=shellscript:noTabs=false:tabSize=4:indentSize=4:lineSeparator=\n: