aboutsummaryrefslogtreecommitdiffstats
path: root/.config/ranger
diff options
context:
space:
mode:
authorkatherine <shmibs@airen-no-jikken.icu>2018-12-19 17:35:39 -0700
committerkatherine <shmibs@airen-no-jikken.icu>2018-12-19 17:35:39 -0700
commitdb947a1f555eab19b87cd540c831d1fc30310025 (patch)
tree5092b1757671aa384b02625f0e6dc48804b687d9 /.config/ranger
parent5b7c0ef6b8d064685713e76143d89669b0d08f7d (diff)
downloaddotfiles-db947a1f555eab19b87cd540c831d1fc30310025.tar.gz
add fancy new functions, with shared helpers
Diffstat (limited to '.config/ranger')
-rw-r--r--.config/ranger/rifle.conf5
1 files changed, 4 insertions, 1 deletions
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 -- "$@"