aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshmibs <shmibs@gmail.com>2014-11-19 15:42:21 -0700
committershmibs <shmibs@gmail.com>2014-11-19 15:42:21 -0700
commitea9076b17d1baf1772e5940331bbbcf80acd2d3d (patch)
treee11ebd2267dbdef0aee06d65701c87fbda28cd71
parent05aab16de822ad857b67a642800d9c9af9aeb2c8 (diff)
downloaddotfiles-ea9076b17d1baf1772e5940331bbbcf80acd2d3d.tar.gz
added shortcuts for music conversion
-rw-r--r--.config/ranger/rifle.conf9
1 files changed, 7 insertions, 2 deletions
diff --git a/.config/ranger/rifle.conf b/.config/ranger/rifle.conf
index c1291d9..131a404 100644
--- a/.config/ranger/rifle.conf
+++ b/.config/ranger/rifle.conf
@@ -78,8 +78,13 @@ mime ^text, has urxvt, X, flag f = "urxvt" "-e" "$EDITOR" "$@"
!mime ^text, ext xml|csv|tex|py|pl|rb|sh|php = "$EDITOR" -- "$@"
!mime ^text, ext xml|csv|tex|py|pl|rb|sh|php, has urxvt, X, flag f = "urxvt" "-e" "$EDITOR" "$@"
-ext 1 = man "$1"
-ext exe = wine "$1"
+# wine
+ext exe, has wine, X, flag f = wine "$1"
+
+# music conversion
+directory, has flac2all = "flac2all" "vorbis" "$1" "-v" "quality=10" "-o" "$1/converted"
+directory, has beet = "beet" "imp" "-t" "$1"
+
name ^[mM]akefile$ = make
name ^[mM]akefile$ = make clean