diff options
-rwxr-xr-x | scripts/init-mime.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/init-mime.sh b/scripts/init-mime.sh index b5617b5..d39cb89 100755 --- a/scripts/init-mime.sh +++ b/scripts/init-mime.sh @@ -1,8 +1,8 @@ #!/usr/bin/env bash set_xdg_mime () { - application=$1 - mimetype=$2 + local application=$1 + local mimetype=$2 if [ -f /usr/share/applications/$application -o -f $HOME/.local/share/applications/$application ] then @@ -22,4 +22,5 @@ set_xdg_mime sxiv.desktop image/jpeg set_xdg_mime mpv.desktop video/x-flv set_xdg_mime mpv.desktop video/x-ms-asf +set_xdg_mime mpv.desktop video/mp4 set_xdg_mime mpv.desktop audio/mpeg |