From db947a1f555eab19b87cd540c831d1fc30310025 Mon Sep 17 00:00:00 2001 From: katherine Date: Wed, 19 Dec 2018 17:35:39 -0700 Subject: add fancy new functions, with shared helpers --- .config/ranger/rifle.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to '.config/ranger') diff --git a/.config/ranger/rifle.conf b/.config/ranger/rifle.conf index 9f1f981..7000ba6 100644 --- a/.config/ranger/rifle.conf +++ b/.config/ranger/rifle.conf @@ -47,7 +47,6 @@ # only running the current file even if you have marked multiple files. # music conversion and import -directory, has flac2all = flac2all vorbis "$1" -v quality=10 -o "$1/converted" directory, has beet = beet imp -t "$1" # view man pages @@ -80,6 +79,10 @@ ext php = php -- "$1" mime ^audio, terminal, has mpv = mpv --no-video -- "$@" mime ^audio, !terminal, has mpv, X, flag f = mpv --force-window=yes -- "$@" +mime ^audio, terminal, has audio-convert = audio-convert -d converted -c vorbis -q 10 "$@" +mime ^audio, terminal, has audio-convert = audio-convert -d converted -c opus "$@" +mime ^audio, terminal, has audio-concat = audio-concat "$@" + mime ^video, has mpv, X, flag f = mpv -- "$@" mime ^video, has mpv, terminal, !X = mpv --vo=tct -- "$@" -- cgit v1.2.3