aboutsummaryrefslogtreecommitdiff
path: root/stow/ranger/.config
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2022-08-25 17:21:47 +0200
committerInigoGutierrez <inigogf.95@gmail.com>2022-08-25 17:21:47 +0200
commit423b7174c428ae5f770de4cfb09388e3264194a8 (patch)
tree55708cdf4af1377f65fffb7a5f4d53daa4ce6d98 /stow/ranger/.config
parent859354ddc4a8e2bb06d03949ecf279452f125025 (diff)
downloadconfigs-423b7174c428ae5f770de4cfb09388e3264194a8.tar.gz
configs-423b7174c428ae5f770de4cfb09388e3264194a8.zip
rifle can open sxiv floating.
Diffstat (limited to 'stow/ranger/.config')
-rw-r--r--stow/ranger/.config/ranger/rifle.conf12
1 files changed, 7 insertions, 5 deletions
diff --git a/stow/ranger/.config/ranger/rifle.conf b/stow/ranger/.config/ranger/rifle.conf
index 35a10a0..194d363 100644
--- a/stow/ranger/.config/ranger/rifle.conf
+++ b/stow/ranger/.config/ranger/rifle.conf
@@ -119,9 +119,9 @@ mime ^audio|ogg$, terminal, has mpv = urxvt -e mpv "$@" &
#--------------------------------------------
# Video/Audio with a GUI
#-------------------------------------------
+mime ^video, has mpv, X, flag f = mpv --fs -- "$@"
mime ^video, has mpv, X, flag f = bash ~/scripts/floats/mpvFloat.sh "$@"
mime ^video, has mpv, X, flag f = bash ~/scripts/floats/mpvFloatLoop.sh "$@"
-mime ^video, has mpv, X, flag f = mpv --fs -- "$@"
mime ^video, has mpv, X, flag f = mpv -- "$@"
mime ^video, has mpv, X, flag f = mpv -vo caca -- "$@"
mime ^video|audio, has vlc, X, flag f = vlc -- "$@"
@@ -172,14 +172,12 @@ ext djvu, has atril, X, flag f = atril -- "$@"
# Image Viewing:
#-------------------------------------------
-# Gifs
-ext gif, has mpv, X, flag f = mpv --loop-playlist "$@"
-ext webm, has mpv, X, flag f = mpv --loop-playlist "$@"
+mime ^image, has sxivFloat.sh, env SXIV_FLOAT, X, flag f = sxivFloat.sh -b -- "$@"
+mime ^image, has sxiv, X, flag f = sxiv -b -- "$@"
mime ^image/svg, has inkscape, X, flag f = inkscape -- "$@"
mime ^image/svg, has display, X, flag f = display -- "$@"
-mime ^image, has sxiv, X, flag f = sxiv -b -- "$@"
mime ^image, has pqiv, X, flag f = pqiv -i -- "$@"
mime ^image, has feh, X, flag f = feh -- "$@"
mime ^image, has gimp, X, flag f = gimp -- "$@"
@@ -189,6 +187,10 @@ mime ^image, has gimp, X, flag f = gimp -- "$@"
#mime ^image, has eom, X, flag f = eom -- "$@"
#ext xcf, X, flag f = gimp -- "$@"
+# Gifs
+ext gif, has mpv, X, flag f = mpv --loop-playlist "$@"
+ext webm, has mpv, X, flag f = mpv --loop-playlist "$@"
+
#-------------------------------------------
# Archives
#-------------------------------------------