From b57c5b4854fd5de8d1782bef5193c27d0122e3d2 Mon Sep 17 00:00:00 2001 From: katherine Date: Mon, 13 Feb 2017 22:29:57 -0700 Subject: add optipng for png --- .config/ranger/rifle.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '.config') diff --git a/.config/ranger/rifle.conf b/.config/ranger/rifle.conf index 6015540..25d997b 100644 --- a/.config/ranger/rifle.conf +++ b/.config/ranger/rifle.conf @@ -1,4 +1,4 @@ -# vim: ft=cfg + # vim: ft=cfg # # This is the configuration file of "rifle", ranger's file executor/opener. # Each line consists of conditions and a command. For each line the conditions @@ -133,12 +133,13 @@ ext sxc|xlsx?|xlt|xlw|gnm|gnumeric, has kspread, X, fla ext od[dfgpst]|docx?|sxc|xlsx?|xlt|xlw|gnm|gnumeric|rtf, has libreoffice, X, flag f = libreoffice "$@" #------------------------------------------- -# Image Viewing: +# Images #------------------------------------------- mime ^image/svg, has inkscape, X, flag f = inkscape -- "$@" mime ^image, has sxiv, X, flag f = sxiv -a "$@" mime ^image, has gimp, X, flag f = gimp -- "$@" ext xcf, X, flag f = gimp -- "$@" +ext png, has optipng = optipng -- "$@" #------------------------------------------- # Archives -- cgit v1.2.3