From 945e96d4d1d11a2ac8d8a266c2e6923a2bad0b87 Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Wed, 2 Aug 2023 00:38:12 +0200 Subject: Updated rifle for showing mpv window with audio. --- stow/ranger/.config/ranger/rifle.conf | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'stow') 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 "$@" -- cgit v1.2.1