Updates to ranger file opening

This commit is contained in:
Emmet 2024-04-01 12:41:35 -05:00
parent dc33f0b77b
commit 67121e023f

View file

@ -76,7 +76,7 @@ ext nes, has fceux, X = fceux "$1"
name ^[mM]akefile$ = make
#----------- FL STUDIO --------------
ext flp = flstudio "$@"
ext flp = flstudio "$@" & &>/dev/null
#--------------------------------------------
# Scripts
@ -119,7 +119,7 @@ mime ^video, terminal, !X, has mplayer = mplayer -- "$@"
#-------------------------------------------
ext pdf, has atril, X, flag f = atril "$@"
ext djvu, has atril, X, flag f = atril "$@"
ext epub, has atril, X, flag f = atril "$@" "atril"
ext epub, has foliate, X, flag f = foliate "$@"
ext pptx?|od[dfgpst]|docx?|sxc|xlsx?|xlt|xlw|gnm|gnumeric, has libreoffice, X, flag f = soffice "$@"
@ -130,7 +130,7 @@ ext cbz, has zathura, X, flag f = zathura -- "$@"
#-------------------------------------------
# Images
#-------------------------------------------
mime ^image, has krita, X, flag f = krita "$@"
mime ^image, has pinta, X, flag f = pinta "$@"
mime ^image/svg, has inkscape, X, flag f = inkscape "$@"
#-------------------------------------------
@ -213,10 +213,10 @@ label pager, !mime ^text, !ext xml|json|csv|tex|py|pl|rb|js|sh|php = "$PAGER"
######################################################################
# My applications
ext kra = krita "$@"
ext blend* = blender "$@"
ext helio = helio "$@"
ext kdenlive = kdenlive-accel "$@"
ext kra = krita "$@" & &>/dev/null
ext blend* = blender "$@" & &>/dev/null
ext helio = helio "$@" & &>/dev/null
ext kdenlive = kdenlive-accel "$@" & &>/dev/null
# Execute a file as program/script.
mime application/x-executable = "$1"