From dd78faaf40862bd1552ec36c41374b527f747284 Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Fri, 23 Feb 2024 03:08:52 -0800 Subject: Reorganize shell scripts into sh dir, consider in the future fsh will have different kinds of files --- sh/pa | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 sh/pa (limited to 'sh/pa') diff --git a/sh/pa b/sh/pa new file mode 100755 index 0000000..86ae4e5 --- /dev/null +++ b/sh/pa @@ -0,0 +1,8 @@ +#!/bin/sh +# Ping Alarm + +while ! ping -w5 "$1"; do + sleep 5 +done +notify-send "$1 on" +bell -- cgit v1.2.3-70-g09d2