From 681133565ce3c417bec8c06e44dda1812f6a257e Mon Sep 17 00:00:00 2001 From: Philip Wittamore Date: Sat, 18 Oct 2025 17:01:10 +0200 Subject: update --- lynx-urlview-handler | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 lynx-urlview-handler (limited to 'lynx-urlview-handler') diff --git a/lynx-urlview-handler b/lynx-urlview-handler new file mode 100755 index 0000000..f5022fb --- /dev/null +++ b/lynx-urlview-handler @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +if curl --head --silent "$1" > /dev/null 2>&1; then + curl $1 | urlview +else + notify-send "Invalid URL $1" +fi -- cgit v1.2.3