From 0fb0039433c0777027f9f9fc63d6ec77117a7f48 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Wed, 21 Jul 2021 16:54:47 +0300 Subject: feat: move zsh and git packages to env --- scripts/.local/bin/linkgrabber.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 scripts/.local/bin/linkgrabber.sh (limited to 'scripts') diff --git a/scripts/.local/bin/linkgrabber.sh b/scripts/.local/bin/linkgrabber.sh new file mode 100755 index 0000000..ab90f6c --- /dev/null +++ b/scripts/.local/bin/linkgrabber.sh @@ -0,0 +1,4 @@ +#!/bin/sh +regex='(((http|https|ftp|gopher)|mailto)[.:][^ >"\t]*|www\.[-a-z0-9.]+)[^ .,;\t>">\):]' +url=$(grep -Po "$regex" | dmenu -p "Go:" -w "$WINDOWID" -l 10) || exit +brave "$url" -- cgit v1.2.3