Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
[email protected] webmail now available. Want one? Go here.
Cannot use outlook/hotmail/live here to register as they blocking our mail servers. #microsoftdeez
Obey the Epel!

Paste

Pasted as Bash by Landgraff ( 14 years ago )
#!/bin/bash
#Описание таймер с оповещением 
input=$(zenity --entry --title="Таймер" --text="Введите время (s,m,h,d)")
# если не пусто

if [ "$input"  != "" ]
then notify-send "$(echo 'Таймер запущен')" -u critical
sleep "$input"
notify-send "$(echo 'Прошло '$input'')" -u critical
else notify-send "$(echo 'Занчение меньше нуля')" -u critical ; exit
fi

 

Revise this Paste

Your Name: Code Language: