summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2017-01-13 20:11:36 +1300
committerDavid Phillips <david@sighup.nz>2017-01-13 20:11:36 +1300
commitdf0edf7d5a24a8eb33b394af338f68101164e269 (patch)
tree8d98df0644b5dfa1ebf3dfe676a478e2bfb75cc2
parent57b513fadf5c56578f7edecd06f6df34eb6ee0dc (diff)
downloaddotfiles-df0edf7d5a24a8eb33b394af338f68101164e269.tar.xz
Add www script
-rwxr-xr-xlocal/bin/www-open7
1 files changed, 7 insertions, 0 deletions
diff --git a/local/bin/www-open b/local/bin/www-open
new file mode 100755
index 0000000..2f218be
--- /dev/null
+++ b/local/bin/www-open
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+read -r url
+
+if [ ! -z "$url" ]; then
+ firefox "$url"
+fi