diff options
-rw-r--r-- | ranger/config/rifle.conf | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ranger/config/rifle.conf b/ranger/config/rifle.conf index a90646e2..ef5ecbf0 100644 --- a/ranger/config/rifle.conf +++ b/ranger/config/rifle.conf @@ -264,5 +264,9 @@ label wallpaper, number 14, mime ^image, has feh, X = feh --bg-fill "$1" label editor, !mime ^text, !ext xml|json|csv|tex|py|pl|rb|js|sh|php = ${VISUAL:-$EDITOR} -- "$@" label pager, !mime ^text, !ext xml|json|csv|tex|py|pl|rb|js|sh|php = "$PAGER" -- "$@" -# The very last action, so that it's never triggered accidentally, is to execute a program: +# One of the last actions, so that it's never triggered accidentally, is to execute a program: mime application/x-executable = "$1" + +# Move the file to trash, available for all filetypes provided +# trash-cli is available. +has trash-put = trash-put -- "$@" |