Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 75e487d4c6
Fetching contributors…

Cannot retrieve contributors at this time

executable file 27 lines (25 sloc) 0.591 kB
#! /bin/sh
# Open specified links in browsers, defaulting to the contents of ~/urls if none
# specified.
if [ ${#@} -eq 0 ]
then
for i in $(< ~/urls)
do
xdg-open "$i"
# Browser occasionally swallows messages when they arrive too fast.
sleep 0.4s
done
else
for i in $@
do
filename=$(readlink -nf $i)
if [ -z "${filename}" ]
then
xdg-open "${i}"
else
xdg-open "${filename}"
fi
# Browser occasionally swallows messages when they arrive too fast.
sleep 0.4s
done
fi
Jump to Line
Something went wrong with that request. Please try again.