Initial commit

This commit is contained in:
rmgr 2022-11-09 17:11:47 +10:30
commit dd9627be8a
1 changed files with 12 additions and 0 deletions

12
timeout.sh Normal file
View File

@ -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