sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

linkgrabber.sh (179B)


      1 #!/bin/sh
      2 regex='(((http|https|ftp|gopher)|mailto)[.:][^ >"\t]*|www\.[-a-z0-9.]+)[^ .,;\t>">\):]'
      3 url=$(grep -Po "$regex" | dmenu -p "Go:" -w "$WINDOWID") || exit
      4 $BROWSER "$url"