mirror of
https://github.com/byReqz/conn.git
synced 2024-11-01 01:03:14 +00:00
change notification timer to 15 seconds
This commit is contained in:
parent
6d9c2152b5
commit
8c0f55b9bb
2
conn.sh
2
conn.sh
@ -78,7 +78,7 @@ while [ ! -z "$1" ]; do
|
|||||||
echo "checking connection status for $2"
|
echo "checking connection status for $2"
|
||||||
while [[ "$(fping -m -q -u $2)" == "$2" ]]; do :
|
while [[ "$(fping -m -q -u $2)" == "$2" ]]; do :
|
||||||
done
|
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----------------------"
|
echo "-------------------Availability----------------------"
|
||||||
fping -e $2
|
fping -e $2
|
||||||
echo "-----------------------------------------------------"
|
echo "-----------------------------------------------------"
|
||||||
|
Loading…
Reference in New Issue
Block a user