aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkatherine <ageha@airen-no-jikken.icu>2026-03-25 17:25:14 +1000
committerkatherine <ageha@airen-no-jikken.icu>2026-03-25 17:25:14 +1000
commit82c4bb678025af8efa67346d102df332e0cf0abd (patch)
treedaf99b50fd0374a8d53c7147bd1717633b8e8f81
parent3d4f4918d55b50ea129b47a01761f3c70ec6c145 (diff)
downloaddotfiles-82c4bb678025af8efa67346d102df332e0cf0abd.tar.gz
assorted rifle tweaksHEADmaster
-rw-r--r--.config/ranger/rifle.conf10
1 files changed, 6 insertions, 4 deletions
diff --git a/.config/ranger/rifle.conf b/.config/ranger/rifle.conf
index 08d6aee..9000b3a 100644
--- a/.config/ranger/rifle.conf
+++ b/.config/ranger/rifle.conf
@@ -51,11 +51,13 @@ ext 1|2|3|4|5|6|7|8|9 = man "$@"
# editor for text files
mime ^text, label editor = "$EDITOR" -- "$@"
-mime ^text, label weditor X, flag f t = "$EDITOR" -- "$@"
+mime ^text, label weditor, X, flag f t = "$EDITOR" -- "$@"
!mime ^text, ext xml|html|xhtml|csv|tex|py|pl|rb|sh|php = "$EDITOR" -- "$@"
!mime ^text, ext xml|html|xhtml|csv|tex|py|pl|rb|sh|php, X, flag f t = "$EDITOR" -- "$@"
+ext srt|ass, has aegisub, X, flag f = aegisub -- "$@"
+
# websites
ext x?html?, has firefox, X, flag f = firefox -- "$@"
ext x?html?, has qutebrowser, X, flag f = qutebrowser -- "$@"
@@ -74,14 +76,14 @@ ext php, hash php = php -- "$1"
# audio / video
mime ^audio, terminal, has mpv = mpv --no-video -- "$@"
-mime ^audio, !terminal, has mpv, X, flag f = mpv --force-window=yes -- "$@"
+mime ^audio, !terminal, has mpv, X, flag f = mpv --force-window -- "$@"
mime ^audio, terminal, has audio-convert = audio-convert -d converted -c vorbis -q 10 "$@"
mime ^audio, terminal, has audio-convert = audio-convert -d converted -m true -c opus "$@"
mime ^audio, terminal, has audio-concat = audio-concat -o concatenated.opus "$@"
mime ^audio, terminal, has audio-concat = audio-concat -o concatenated.flac "$@"
-mime ^video, has mpv, X, flag f = mpv -- "$@"
+mime ^video, has mpv, X, flag f = mpv --force-window -- "$@"
mime ^video, has mpv, terminal, !X = mpv --vo=tct -- "$@"
# documents
@@ -89,7 +91,7 @@ ext djvu|pdf|ps, has zathura, X, flag f = zathura -- "$@"
ext djvu|pdf, has evince, X, flag f = evince -- "$@"
ext djvu|pdf, has inkscape, X, flag f = inkscape -- "$@"
-ext epub, has bk, flag f = alacritty -o "font.size=12" -e bk "$@"
+ext epub, has bk, flag f = "$TERMCMD" -o "font.size=12" -e bk "$@"
ext epub, has foliate, X, flag f = foliate -- "$@"
ext epub, has calibre, X, flag f = calibre -- "$@"
ext epub, has sigil, X, flag f = sigil "$@"