mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-18 22:55:52 +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
|
||||
|
||||
#----------- 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"
|
||||
|
|
Loading…
Reference in a new issue