13 lines
222 B
Bash
13 lines
222 B
Bash
|
dpkg -s libnotify-bin &> /dev/null
|
||
|
if [ $? -ne 0 ]
|
||
|
then
|
||
|
echo "libnotify-bin is not installed. Please install it first"
|
||
|
exit
|
||
|
fi
|
||
|
timeout=$1
|
||
|
message="$2"
|
||
|
while true; do
|
||
|
sleep ${timeout}m
|
||
|
notify-send "$message"
|
||
|
done
|