From 9af1be6b6918f81c1c8e6c0995c9126b52cf4717 Mon Sep 17 00:00:00 2001 From: Emmet Date: Sat, 13 Apr 2024 12:38:30 -0500 Subject: [PATCH] Fixed a lot of ranger file handlers --- user/app/ranger/rifle.conf | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/user/app/ranger/rifle.conf b/user/app/ranger/rifle.conf index 3239a03..e637fe0 100644 --- a/user/app/ranger/rifle.conf +++ b/user/app/ranger/rifle.conf @@ -75,8 +75,18 @@ ext nes, has fceux, X = fceux "$1" #ext exe = wine "$1" name ^[mM]akefile$ = make -#----------- FL STUDIO -------------- -ext flp = flstudio "$@" & &>/dev/null +#------------------------------------------ +# My applications +#------------------------------------------ +ext kra, has krita, X, flag f = krita "$@" &>/dev/null +ext kra~, has krita, X, flag f = krita "$@" &>/dev/null +ext blend, has blender, X, flag f = blender "$@" &>/dev/null +ext blend~, has blender, X, flag f = blender "$@" &>/dev/null +ext xopp, has xournalpp, X, flag f = xournalpp "$@" &>/dev/null +ext xopp~, has blender, X, flag f = xournalpp "$@" &>/dev/null +ext helio, has helio, X, flag f = helio "$@" &>/dev/null +ext kdenlive, has kdenlive-accel, X, flag f = kdenlive-accel "$@" &>/dev/null +ext flp, has flstudio, X, flag f = flstudio "$@" &>/dev/null #-------------------------------------------- # Scripts @@ -212,11 +222,6 @@ label pager, !mime ^text, !ext xml|json|csv|tex|py|pl|rb|js|sh|php = "$PAGER" # they are never triggered accidentally. # ###################################################################### -# My applications -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"