1
0
mirror of https://github.com/byReqz/conn.git synced 2024-11-25 02:04:54 +00:00

change notification timer to 15 seconds

This commit is contained in:
Nils 2021-01-18 21:23:18 +00:00 committed by GitHub
parent 6d9c2152b5
commit 8c0f55b9bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,7 +78,7 @@ while [ ! -z "$1" ]; do
echo "checking connection status for $2"
while [[ "$(fping -m -q -u $2)" == "$2" ]]; do :
done
notify-send "$2 is now reachable" -u normal -t 8000 -a conn
notify-send "$2 is now reachable" -u normal -t 15000 -a conn
echo "-------------------Availability----------------------"
fping -e $2
echo "-----------------------------------------------------"