mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-19 07:05:51 +05:30
Updates to ranger file opening
This commit is contained in:
parent
dc33f0b77b
commit
67121e023f
|
@ -76,7 +76,7 @@ ext nes, has fceux, X = fceux "$1"
|
||||||
name ^[mM]akefile$ = make
|
name ^[mM]akefile$ = make
|
||||||
|
|
||||||
#----------- FL STUDIO --------------
|
#----------- FL STUDIO --------------
|
||||||
ext flp = flstudio "$@"
|
ext flp = flstudio "$@" & &>/dev/null
|
||||||
|
|
||||||
#--------------------------------------------
|
#--------------------------------------------
|
||||||
# Scripts
|
# Scripts
|
||||||
|
@ -119,7 +119,7 @@ mime ^video, terminal, !X, has mplayer = mplayer -- "$@"
|
||||||
#-------------------------------------------
|
#-------------------------------------------
|
||||||
ext pdf, has atril, X, flag f = atril "$@"
|
ext pdf, has atril, X, flag f = atril "$@"
|
||||||
ext djvu, 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 "$@"
|
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
|
# 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 "$@"
|
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
|
# My applications
|
||||||
ext kra = krita "$@"
|
ext kra = krita "$@" & &>/dev/null
|
||||||
ext blend* = blender "$@"
|
ext blend* = blender "$@" & &>/dev/null
|
||||||
ext helio = helio "$@"
|
ext helio = helio "$@" & &>/dev/null
|
||||||
ext kdenlive = kdenlive-accel "$@"
|
ext kdenlive = kdenlive-accel "$@" & &>/dev/null
|
||||||
|
|
||||||
# Execute a file as program/script.
|
# Execute a file as program/script.
|
||||||
mime application/x-executable = "$1"
|
mime application/x-executable = "$1"
|
||||||
|
|
Loading…
Reference in a new issue