add imv image viewer

This commit is contained in:
Felix Van der Jeugt 2021-01-23 22:37:47 +01:00
parent 7281c7619a
commit 4f4de25afa
No known key found for this signature in database
GPG Key ID: 58B209295023754D
2 changed files with 2 additions and 1 deletions

View File

@ -181,6 +181,7 @@ ext mobi, has ebook-viewer, X, flag f = ebook-viewer -- "$@"
mime ^image/svg, has inkscape, X, flag f = inkscape -- "$@"
mime ^image/svg, has display, X, flag f = display -- "$@"
mime ^image, has imv, X, flag f = imv -- "$@"
mime ^image, has pqiv, X, flag f = pqiv -- "$@"
mime ^image, has sxiv, X, flag f = sxiv -- "$@"
mime ^image, has feh, X, flag f = feh -- "$@"

View File

@ -2,6 +2,6 @@
[ "$#" -eq 0 ] && exit
torsocks curl -O "$@"
image="$(basename "$@")"
feh "$image"
rifle -fF "$image"
mv "$image" /data/pictures/anselmages/
ln -s ../anselmages/"$image" /data/pictures/background-source/"$image"