Initial commit
This commit is contained in:
commit
dd9627be8a
|
@ -0,0 +1,12 @@
|
|||
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
|
Loading…
Reference in New Issue