diff --git a/config/ranger/rifle.conf b/config/ranger/rifle.conf index 5719583..bf5171c 100644 --- a/config/ranger/rifle.conf +++ b/config/ranger/rifle.conf @@ -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 -- "$@" diff --git a/local/bin/anselmage b/local/bin/anselmage index 640380e..931ed8c 100755 --- a/local/bin/anselmage +++ b/local/bin/anselmage @@ -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"