dotfiles

<-- duh.
Log | Files | Refs | LICENSE

commit 63711d11d1dfadb87c690ba82361ee5d5cd32c65
parent 1bd05444c451f4613b1c8617816cec888c978073
Author: hhvn <dev@hhvn.uk>
Date:   Sun, 26 Sep 2021 13:26:51 +0100

.s/b/plumb: loop gifs

Diffstat:
M.scripts/bin/plumb | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/.scripts/bin/plumb b/.scripts/bin/plumb @@ -129,6 +129,9 @@ do matches "^(gopher|http)s?://.*\.(ogg|mp3|opus|flac|pls)$" && plumb terminal '$proxy mpv --pause $arg' + matches "^(gopher|http)s?://.*\.gif$" && + plumb gui '$proxy mpv --loop-file $arg' + matches "^(gopher|http)s?://.*\.(mkv|mp4|avi|webm|ogv|gifv|mp4|ape|m3u|m3u8)$" || matches "^https?://(www\.|m\.)?(youtube.com|youtu.be)" || matches "^https?://.*/videos/watch/" || # peertube @@ -189,6 +192,10 @@ do isfile && plumb gui 'zathura $arg' + matches ".*\.gif$" && + isfile && + plumb gui 'mpv --loop-file $arg' + matches ".*\.(mkv|mp4|avi|webm|ogg|ogv|gifv|mp3|mp4|opus|flac|ape|m3u|m3u8)$" || fmatches "video|matroska|audio|sound" && isfile &&