commit d17af2127273b5450134335b3d587b71073ae39f
parent 8d27214fdd89714790f97bbd4243d3df5dbeace6
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date: Sat, 26 Jan 2019 11:08:11 -0500
Enable image preview for more file types.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.local/bin/lf/previewer b/.local/bin/lf/previewer
@@ -1,7 +1,7 @@
#!/bin/sh
case "$1" in
- *.png|*.jpg|*.jpeg) catimg -r 2 -w 110 -t "$1";;
+ *.png|*.jpg|*.jpeg|*.gif|*.PNG|*.JPG) catimg -r 2 -w 110 -t "$1";;
*.tar*) tar tf "$1";;
*.zip) unzip -l "$1";;
*.rar) unrar l "$1";;