#!/bin/bash for i in `seq 0 30`; do notify-send -t 999 "Sleeping" $(expr 30 - $i); sleep 1 done