commit dd164e68c2d80eff459a2fd3a20b02f8b3363fb2
parent adc4a74c26da8afa32710eca7def21e513dae8b8
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Fri, 13 Nov 2020 20:56:32 +0100
plumb: play wav with mplayer
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.local/bin/plumb b/.local/bin/plumb
@@ -210,7 +210,7 @@ handle_url() {
 		detach $prefix mpv "$t"
 	elif regeximatch "$t" '^radio://'; then
 		$prefix mplayer "http${t##radio}"
-	elif regeximatch "$t" '\.(mp3|ogg|m3u)$'; then
+	elif regeximatch "$t" '\.(mp3|ogg|m3u|wav)$'; then
 		$prefix mplayer "$(fetch "$t")"
 	elif regeximatch "$t" '\.(png|jpg|jpeg|tif|bmp|gif)$'; then
 		$prefix sxiv -a -s f "$(fetch "$t")"