dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 11533eb7b819fb4e47c09b9626bc1502387a2db2
parent 1459e62d668ee7428116761c36a5a8f6451e6537
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Fri, 11 Sep 2020 10:41:00 +0200

plumb: Play multi-frame images by default

Diffstat:
M.local/bin/plumb | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.local/bin/plumb b/.local/bin/plumb @@ -116,7 +116,7 @@ handle_file_type() { image/svg*) detach inkscape "$1";; image/*) - detach sxiv "$1";; + detach sxiv -a "$1";; video/*|\ audio/*|\ application/ogg|\ @@ -204,8 +204,8 @@ handle_url() { $prefix mpv "http${t##radio}" elif regeximatch "$t" '\.(mp3|ogg|m3u)$'; then $prefix mpv "$(fetch "$t")" - elif regeximatch "$t" '\.(png|jpg|jpeg|tif|bmp)$'; then - $prefix sxiv "$(fetch "$t")" + elif regeximatch "$t" '\.(png|jpg|jpeg|tif|bmp|gif)$'; then + $prefix sxiv -a "$(fetch "$t")" elif regeximatch "$t" '\.(pdf|ps|epub|djvu)$'; then $prefix zathura "$(fetch "$t")" elif regeximatch "$t" '(smbc-comics\.com|xkcd\.com|jspowerhour\.com|explosm\.net)'; then