3 #Ident's cert and key files paths
10 #Path to curl, that works with gemini protocol
17 $curlpath -s -k --key $key --cert $cert $url > current
18 IFS=' ' read -ra my_array <<< $(cat ./current | grep '/notifications')
19 notifications=${my_array[2]}
21 if [[ $notifications -gt $lasttime ]]; then
23 echo "You have new notifications!"
24 read -p "Press enter to continue"
25 lasttime=$notifications