summaryrefslogtreecommitdiff
path: root/sh/pa
blob: 98ec16d6f6bd9e401f33d8a73973e54444d9f4c0 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh
# Ping Alarm

while ! ping -c1 "$1"; do
	sleep 5
done
notify-send "$1 on"
bell