commit aa13a1fd67b1d55db4e2fe134414859dee832643
parent 2cc06e75bf3ecb80840e6b37a103fb256566af0d
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Tue, 9 Jun 2020 12:25:46 +0200
Open application/octet-stream with mpv
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/.local/bin/plumb b/.local/bin/plumb
@@ -129,7 +129,10 @@ handle_target() {
detach inkscape "$t";;
image/*)
detach sxiv "$t";;
- video/*|audio/*|application/ogg)
+ video/*|\
+ audio/*|\
+ application/ogg|\
+ application/octet-stream)
mpv "$t";;
text/html)
detach $BROWSER "$t";;
@@ -151,7 +154,6 @@ handle_target() {
application/msword*|\
application/*-excel*|\
application/*powerpoint*|\
- application/octet-stream|\
application/zip)
detach libreoffice "$t";;
*)