Browse Source

Adjust ranger to run videos with umpv

The change in wm popup makes it return a different exit code than previously,
breaking the use of && to chain un-poping ranger and running umpv.
Replace && with ; and run umpv unconditionaly
master
Maxime Wack 1 year ago
parent
commit
6a195e0663
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      .config/ranger/rifle.conf

+ 1
- 1
.config/ranger/rifle.conf View File

@@ -132,7 +132,7 @@ mime ^video, has mplayer2, X, flag f = mplayer2 -- "$@"
mime ^video, has mplayer2, X, flag f = mplayer2 -fs -- "$@"
mime ^video, has mplayer, X, flag f = mplayer -- "$@"
mime ^video, has mplayer, X, flag f = mplayer -fs -- "$@"
mime ^video|audio, has mpv, X, flag f = wm popup Ranger && umpv -- "$@"
mime ^video|audio, has mpv, X, flag f = wm popup Ranger; umpv "$@"
mime ^video|audio, has vlc, X, flag f = vlc -- "$@"
mime ^video|audio, has totem, X, flag f = totem -- "$@"
mime ^video|audio, has totem, X, flag f = totem --fullscreen -- "$@"


Loading…
Cancel
Save