commit d675e7e8cb1d057bfe86f105177dec9ff8d5d0f2
parent 6d8b90f6c9233fb8e56c0313833e8a8b471418c5
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Mon, 17 Feb 2020 12:58:23 +0100
Also handle gif with sxiv
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.local/bin/plumb b/.local/bin/plumb
@@ -84,7 +84,7 @@ handle_target() {
case "$1" in
*.mp4|*.mkv|*.webm|*.ogv|*.avi|*.ogg|*.ogv|*.gifv)
detach mpv "$1";;
- *.png|*.jpg|*.jpeg|*.tif|*.bmp)
+ *.png|*.jpg|*.jpeg|*.tif|*.bmp|*.gif)
sxiv "$(fetch "$1")";;
*.pdf|*.ps|*.epub|*.djvu)
zathura "$(fetch "$1")";;