diff options
author | David Phillips <david@sighup.nz> | 2017-01-13 20:11:36 +1300 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2017-01-13 20:11:36 +1300 |
commit | df0edf7d5a24a8eb33b394af338f68101164e269 (patch) | |
tree | 8d98df0644b5dfa1ebf3dfe676a478e2bfb75cc2 | |
parent | 57b513fadf5c56578f7edecd06f6df34eb6ee0dc (diff) | |
download | dotfiles-df0edf7d5a24a8eb33b394af338f68101164e269.tar.xz |
Add www script
-rwxr-xr-x | local/bin/www-open | 7 |
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 |