dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 84e4f42e0bc188c7919916e4c5c6310238c372f1
parent 5ed20340bca24ea3a7e8b7cc9e855ff59098686d
Author: Alex Balgavy <alex@balgavy.eu>
Date:   Sun, 22 Aug 2021 12:26:17 +0200

opener: add mp4

Diffstat:
Mscripts/opener | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/scripts/opener b/scripts/opener @@ -1,6 +1,5 @@ #!/bin/sh # Opener: given a local file, decide which program to use to open it - [ $# -gt 0 ] || { printf "File required in argument.\n" && exit 1; } case "$1" in # Handling links is another script's job @@ -19,7 +18,7 @@ case "$1" in case "$1" in *.mp3) mpv --no-audio-display --no-video --volume=50 "$1";; *.dmg) setsid -f open "$@" > /dev/null 2>&1;; - *.webm) mpvq "$@";; + *.webm|*.mp4) mpvq "$@";; esac ;; *) setsid -f open "$@" > /dev/null 2>&1;;