feh ranger tweak
This commit is contained in:
parent
5ed354d0b5
commit
f4393fb58e
1 changed files with 19 additions and 11 deletions
|
@ -55,6 +55,7 @@
|
|||
# install a rare browser, you probably use it. Firefox/konqueror/w3m on the
|
||||
# other hand are often only installed as fallback browsers.
|
||||
|
||||
ext x?html?, has waterfox, X, flag f = waterfox -- "$@"
|
||||
ext x?html?, has surf, X, flag f = surf -- file://"$1"
|
||||
ext x?html?, has vimprobable, X, flag f = vimprobable -- "$@"
|
||||
ext x?html?, has vimprobable2, X, flag f = vimprobable2 -- "$@"
|
||||
|
@ -80,6 +81,10 @@ ext x?html?, has links, terminal = links "$@"
|
|||
ext x?html?, has lynx, terminal = lynx -- "$@"
|
||||
ext x?html?, has w3m, terminal = w3m "$@"
|
||||
|
||||
|
||||
#Spreadsheets for scim
|
||||
ext sc|csv|sxc|xlsx?|xlt|xlw|gnm|gnumeric, = scim -- "$@"
|
||||
|
||||
#-------------------------------------------
|
||||
# Misc
|
||||
#-------------------------------------------
|
||||
|
@ -106,15 +111,6 @@ ext js = node -- "$1"
|
|||
ext sh = sh -- "$1"
|
||||
ext php = php -- "$1"
|
||||
|
||||
#--------------------------------------------
|
||||
# Audio without X
|
||||
#-------------------------------------------
|
||||
mime ^audio|ogg$, terminal, has mplayer = mplayer -- "$@"
|
||||
mime ^audio|ogg$, terminal, has mplayer2 = mplayer2 -- "$@"
|
||||
mime ^audio|ogg$, terminal, has mpv = mpv --no-audio-display -- "$@"
|
||||
mime ^audio|ogg$, terminal, has mpv = mpv -- "$@"
|
||||
ext midi?, terminal, has wildmidi = wildmidi -- "$@"
|
||||
|
||||
#--------------------------------------------
|
||||
# Video/Audio with a GUI
|
||||
#-------------------------------------------
|
||||
|
@ -130,6 +126,16 @@ mime ^video, has mplayer, X, flag f = mplayer -fs -- "$@"
|
|||
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 -- "$@"
|
||||
#--------------------------------------------
|
||||
# Audio without X
|
||||
#-------------------------------------------
|
||||
mime ^audio|ogg$, terminal, has mplayer = mplayer -- "$@"
|
||||
mime ^audio|ogg$, terminal, has mplayer2 = mplayer2 -- "$@"
|
||||
mime ^audio|ogg$, terminal, has mpv = mpv --no-audio-display -- "$@"
|
||||
# mime ^audio|ogg$, terminal, has mpc = mpc clear && mpc add "$@" && mpc play
|
||||
mime ^audio|ogg$, terminal, has mpv = mpv -- "$@"
|
||||
ext midi?, terminal, has wildmidi = wildmidi -- "$@"
|
||||
|
||||
|
||||
#--------------------------------------------
|
||||
# Video without X:
|
||||
|
@ -144,6 +150,7 @@ mime ^video, terminal, !X, has mplayer = mplayer -- "$@"
|
|||
ext pdf, has llpp, X, flag f = llpp "$@"
|
||||
ext pdf, has zathura, X, flag f = zathura -- "$@"
|
||||
ext pdf, has mupdf, X, flag f = mupdf "$@"
|
||||
ext pdf, has mupdf, X, flag f = mupdf -I "$@"
|
||||
ext pdf, has mupdf-x11,X, flag f = mupdf-x11 "$@"
|
||||
ext pdf, has apvlv, X, flag f = apvlv -- "$@"
|
||||
ext pdf, has xpdf, X, flag f = xpdf -- "$@"
|
||||
|
@ -155,6 +162,7 @@ ext pdf, has qpdfview, X, flag f = qpdfview "$@"
|
|||
|
||||
ext epub, has mupdf, X, flag f = mupdf "$@"
|
||||
|
||||
|
||||
ext docx, has abiword, X, flag f = abiword "$@"
|
||||
|
||||
ext docx?, has catdoc, terminal = catdoc -- "$@" | "$PAGER"
|
||||
|
@ -178,8 +186,9 @@ mime ^image/gif, has mpv, X, flag f = mpv --loop -- "$@"
|
|||
mime ^image/gif, has viewnior, X, flag f = viewnior -- "$@"
|
||||
mime ^image/gif, has qutebrowser, X, flag f = qutebrowser -- "$@"
|
||||
|
||||
ext xcf, X, flag f = gimp -- "$@"
|
||||
mime ^image, has feh, X, flag f = feh --scale-down --auto-zoom --image-bg black -- "$@"
|
||||
mime ^image, has sxiv, X, flag f = sxiv -- "$@"
|
||||
mime ^image, has feh, X, flag f = feh --scale-down --auto-zoom -- "$@"
|
||||
mime ^image, has mirage, X, flag f = mirage -- "$@"
|
||||
mime ^image, has ristretto, X, flag f = ristretto "$@"
|
||||
mime ^image, has eog, X, flag f = eog -- "$@"
|
||||
|
@ -188,7 +197,6 @@ mime ^image, has gimp, X, flag f = gimp -- "$@"
|
|||
mime ^image, has pinta, X, flag f = pinta -- "$@"
|
||||
mime ^image, has mypaint, X, flag f = mypaint -- "$@"
|
||||
mime ^image, has kolourpaint, X, flag f = kolourpaint -- "$@"
|
||||
ext xcf, X, flag f = gimp -- "$@"
|
||||
|
||||
#-------------------------------------------
|
||||
# Archives
|
||||
|
|
Loading…
Reference in a new issue