summaryrefslogtreecommitdiff
path: root/rifle.conf
diff options
context:
space:
mode:
authorache <ache@ache.one>2021-05-26 04:43:24 +0200
committerache <ache@ache.one>2021-05-26 04:43:24 +0200
commit711b7cfd9ba4acda7e39ad7ba44345f0ba9457ae (patch)
tree7c5e452dc0b6b10bfed8fe39befc8c61bf24fe7d /rifle.conf
parentActivate git plugin (diff)
Image preview improove
Diffstat (limited to 'rifle.conf')
-rwxr-xr-xrifle.conf24
1 files changed, 20 insertions, 4 deletions
diff --git a/rifle.conf b/rifle.conf
index 9fae9e3..1514002 100755
--- a/rifle.conf
+++ b/rifle.conf
@@ -128,7 +128,6 @@ mime ^audio, has vlc, X, flag f = vlc --key-quit "Ctrl-v" --started-f
mime ^video, has vlc, X, flag f = cvlc --key-quit "Ctrl-v" --started-from-file -- "$@"
mime ^video|audio, has gmplayer, X, flag f = gmplayer -- "$@"
mime ^video|audio, has smplayer, X, flag f = smplayer "$@"
-mime ^video, has mpv, X, flag f = mpv -- "$@"
mime ^video, has mpv, X, flag f = mpv --fs -- "$@"
mime ^video, has mplayer2, X, flag f = mplayer2 -- "$@"
mime ^video, has mplayer2, X, flag f = mplayer2 -fs -- "$@"
@@ -163,6 +162,12 @@ ext pdf, has atril, X, flag f = atril -- "$@"
ext pdf, has okular, X, flag f = okular -- "$@"
ext pdf, has qpdfview, X, flag f = qpdfview "$@"
+
+ext epub, has foliate, X, flag f = foliate "$@"
+ext epub, has mupdf, X, flag f = mupdf "$@"
+ext epub, has zathura, X, flag f = zathura -- "$@"
+ext pdf, has okular, X, flag f = okular -- "$@"
+
ext docx?, has catdoc, terminal = catdoc -- "$@" | "$PAGER"
ext sxc|xlsx?|xlt|xlw|gnm|gnumeric, has gnumeric, X, flag f = gnumeric -- "$@"
@@ -188,20 +193,27 @@ ext gif, has gifview, X, flag f = gifview -a -- "$@"
#-------------------------------------------
# Image Viewing:
#-------------------------------------------
+
+# SVG
mime ^image/svg, , , = $EDITOR -- "$@"
mime ^image/svg, has inkscape, X, flag f = inkscape -- "$@"
mime ^image/svg, has display, X, flag f = display -- "$@"
+# Fallback
+mime ^image, has eog, X, flag f = eog -- "$@"
+mime ^image, has eom, X, flag f = eom -- "$@"
mime ^image, has ristretto, X, flag f = ristretto "$@"
+mime ^image, has mirage, X, flag f = mirage -- "$@"
mime ^image, has sxiv, X, flag f = sxiv -- "$@"
mime ^image, has feh, X, flag f = feh -- "$@"
-mime ^image, has mirage, X, flag f = mirage -- "$@"
-mime ^image, has eog, X, flag f = eog -- "$@"
-mime ^image, has eom, X, flag f = eom -- "$@"
mime ^image, has gimp, X, flag f = gimp -- "$@"
ext xcf, X, flag f = gimp -- "$@"
+# WEBP
+mime ^image/webp, has gthumb, X, flag f = gthumb -- "$@"
+ext webp, has gthumb, X, flag f = gthumb -- "$@"
+
#-------------------------------------------
# Archives
@@ -212,6 +224,10 @@ ext iso|jar|msi|pkg|rar|shar|tar|tgz|xar|xpi|xz|zip, has als = als -- "$@" |
ext 7z|ace|ar|arc|bz2?|cab|cpio|cpt|deb|dgc|dmg|gz, has aunpack = aunpack -- "$@"
ext iso|jar|msi|pkg|rar|shar|tar|tgz|xar|xpi|xz|zip, has aunpack = aunpack -- "$@"
+
+# 3D printing
+ext stl, has cura, X, flag f = cura -- "$@"
+
# Fallback:
ext tar|gz, has tar = tar vvtf "$@" | "$PAGER"
ext tar|gz, has tar = tar vvxf "$@"