aboutsummaryrefslogtreecommitdiff
path: root/open-url
diff options
context:
space:
mode:
Diffstat (limited to 'open-url')
-rwxr-xr-xopen-url11
1 files changed, 4 insertions, 7 deletions
diff --git a/open-url b/open-url
index 8681895..bd65a84 100755
--- a/open-url
+++ b/open-url
@@ -13,19 +13,16 @@ echo "$@" | xsel -ib
13 13
14case "$@" in 14case "$@" in
15 mailto:*) 15 mailto:*)
16 mail-compose $@ 16 mail-compose "$@"
17 ;; 17 ;;
18 *.jpg | *.jpeg | *.png) 18 *.jpg | *.jpeg | *.png)
19 spawn $imageviewer "$@" 19 spawn "$imageviewer" "$@"
20 ;; 20 ;;
21 *.gif) 21 *.gif)
22 spawn $imageviewer "$@" 22 spawn "$imageviewer" "$@"
23 ;; 23 ;;
24# https://www.youtube.com/watch\?v=*)
25# spawn $VIDEOPLAYER "$1"
26# ;;
27 *) 24 *)
28 spawn $browser "$@" 25 spawn "$browser" "$@"
29 ;; 26 ;;
30esac 27esac
31 28

Generated with cgit - Back to sebastiano.tronto.net