diff options
-rw-r--r-- | env/.gitconfig (renamed from git/.gitconfig) | 0 | ||||
-rw-r--r-- | env/.zshrc (renamed from zsh/.zshrc) | 0 | ||||
-rwxr-xr-x | scripts/.local/bin/linkgrabber.sh | 4 |
3 files changed, 4 insertions, 0 deletions
diff --git a/git/.gitconfig b/env/.gitconfig index 132f42d..132f42d 100644 --- a/git/.gitconfig +++ b/env/.gitconfig 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" |