commit b83eb5ba13be6e30d156f2233ca889d846b2f058
parent 21ce24377e34b617780cebb5205b7a1d52a57992
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Mon, 1 Feb 2021 08:13:56 +0100
plumb: support opus files
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.local/bin/plumb b/.local/bin/plumb
@@ -215,7 +215,7 @@ handle_url() {
detach $prefix mpv "$t"
elif regeximatch "$t" '^radio://'; then
$prefix mplayer "http${t##radio}"
- elif regeximatch "$t" '\.(mp3|ogg|m3u|wav)$'; then
+ elif regeximatch "$t" '\.(mp3|ogg|m3u|wav|opus)$'; then
$prefix mplayer "$(fetch "$t")"
elif regeximatch "$t" '\.(png|jpg|jpeg|tif|bmp|gif)$'; then
$prefix sxiv -a -s f "$(fetch "$t")"