February update

This commit is contained in:
Augusto Gunsch
2022-02-06 14:48:48 -03:00
parent 71a7fe2b72
commit af39225ac2
6 changed files with 51 additions and 26 deletions

22
home/swallow Normal file
View File

@@ -0,0 +1,22 @@
#!/bin/sh
MPV=/usr/bin/mpv
mpv() {
EXT=${*##*.}
case "$*" in
*--no-video*)
$MPV $*
;;
*)
case "$EXT" in
ogg|opus|mp3)
$MPV $*
;;
*)
swallow $MPV $*
;;
esac
;;
esac
}