aboutsummaryrefslogtreecommitdiff
path: root/stow/ranger/.config
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2023-08-02 00:38:12 +0200
committerInigoGutierrez <inigogf.95@gmail.com>2023-08-02 00:38:12 +0200
commit945e96d4d1d11a2ac8d8a266c2e6923a2bad0b87 (patch)
treefa6c9e39e8d995abfeb093d5ad3b2176b2b3c952 /stow/ranger/.config
parent1c601e9ff05279783740e2b69a290b1a6f1aa3c8 (diff)
downloadconfigs-945e96d4d1d11a2ac8d8a266c2e6923a2bad0b87.tar.gz
configs-945e96d4d1d11a2ac8d8a266c2e6923a2bad0b87.zip
Updated rifle for showing mpv window with audio.
Diffstat (limited to 'stow/ranger/.config')
-rw-r--r--stow/ranger/.config/ranger/rifle.conf5
1 files changed, 2 insertions, 3 deletions
diff --git a/stow/ranger/.config/ranger/rifle.conf b/stow/ranger/.config/ranger/rifle.conf
index 8c41dd4..d885dbb 100644
--- a/stow/ranger/.config/ranger/rifle.conf
+++ b/stow/ranger/.config/ranger/rifle.conf
@@ -109,9 +109,6 @@ ext ino = arduino & -- "$@"
#--------------------------------------------
# Audio without X
#-------------------------------------------
-mime ^audio|ogg$, terminal, has mpv = urxvt -title "floating" -geometry "120x4-0-0" -e mpv "$@" &
-#mime ^audio|ogg$, terminal, has mpv = urxvt -title "floating" -geometry "120x4-0-0" -e mpv --no-audio-display "$@" &
-mime ^audio|ogg$, terminal, has mpv = urxvt -e mpv "$@" &
#mime ^audio|ogg$, terminal, has mplayer2 = mplayer2 -- "$@"
#mime ^audio|ogg$, terminal, has mplayer = mplayer -- "$@"
#ext midi?, terminal, has wildmidi = wildmidi -- "$@"
@@ -124,6 +121,8 @@ 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 -vo caca -- "$@"
+mime ^audio|ogg$, has mpv, X, flag f = urxvt -title "floating" -geometry "120x4-0-0" -e mpv --force-window=yes "$@"
+mime ^audio|ogg$, has mpv, X, flag f = urxvt -e mpv "$@"
mime ^video|audio, has vlc, X, flag f = vlc -- "$@"
#mime ^video|audio, has gmplayer, X, flag f = gmplayer -- "$@"
#mime ^video|audio, has smplayer, X, flag f = smplayer "$@"