dot

packages and services management
Log | Files | Refs | README

commit 6b2b3b0b14989aa2127baa2a67e6db14b232568c
parent 554d2b776307cc131d853fe8ed4c392658672708
Author: Josuah Demangeon <mail@josuah.net>
Date:   Thu, 28 Dec 2017 15:58:38 +0100

adding missing avi and mp4 media

Diffstat:
Mbin/xdg-open | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/xdg-open b/bin/xdg-open @@ -103,7 +103,7 @@ case $scheme in curl -Lo "$HOME/lib/http/music/$host/${path##*/}" "$1" exec "$0" "$HOME/lib/http/music/$host/${path##*/}" ;; - (*.mkv|*.avi|*.webm) + (*.webm|*.mp4|*.mkv|*.ogv|*.avi) mkdir -p "$HOME/lib/http/video/$host" curl -Lo "$HOME/lib/http/video/$host/${path##*/}" "$1" exec "$0" "$HOME/lib/http/video/$host/${path##*/}" @@ -179,7 +179,7 @@ esac (*.gif) exec mplayer -loop 0 "$1" ;; -(*.webm|*.mp4|*.mkv|*.ogv|*.opus|*.mp3|*.flac|*.ogg) +(*.webm|*.mp4|*.mkv|*.ogv|*.avi|*.opus|*.mp3|*.flac|*.ogg) exec mplayer "$1" ;; (*/music/*)