From c564fbff6d9aad19bb59f0b588f52fb7a4b182aa Mon Sep 17 00:00:00 2001 From: Jeff Lance Date: Fri, 4 Aug 2023 19:22:04 +0200 Subject: [PATCH] update --- conf.d/ranger/rifle.conf | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/conf.d/ranger/rifle.conf b/conf.d/ranger/rifle.conf index 894bc5c..86ad499 100644 --- a/conf.d/ranger/rifle.conf +++ b/conf.d/ranger/rifle.conf @@ -135,7 +135,7 @@ mime ^video, terminal, !X, has mplayer = mplayer -- "$@" # Documents #------------------------------------------- # ext pdf, has llpp, X, flag f = llpp "$@" -# ext pdf, has zathura, X, flag f = zathura -- "$@" +ext pdf, has zathura, X, flag f = zathura -- "$@" # ext pdf, has mupdf, X, flag f = mupdf "$@" # ext pdf, has mupdf-x11,X, flag f = mupdf-x11 "$@" # ext pdf, has apvlv, X, flag f = apvlv -- "$@" @@ -167,6 +167,7 @@ ext mobi, has ebook-viewer, X, flag f = ebook-viewer -- "$@" ext xopp, has xournalpp, X, flag f = xournalpp "$@" mime ^text, ext tex|asy, has texstudio, X, flag f = texstudio -- "$@" +mime ^text, label editor, ext tex|asy, flag t = ${VISUAL:-$EDITOR} -- "$@" mime ^text, ext tex|asy, has texmaker, X, flag f = texmaker -- "$@" # Define the "editor" for text files as last action @@ -185,7 +186,7 @@ mime ^image/svg, has display, X, flag f = display -- "$@" #mime ^image, has sxiv, X, flag f = sxiv -- "$@" #mime ^image, has feh, X, flag f = feh -- "$@" #mime ^image, has mirage, X, flag f = mirage -- "$@" -#mime ^image, has ristretto, X, flag f = ristretto "$@" +mime ^image, has ristretto, X, flag f = ristretto "$@" #mime ^image, has eog, X, flag f = eog -- "$@" #mime ^image, has eom, X, flag f = eom -- "$@" mime ^image, has nomacs, X, flag f = nomacs -- "$@" @@ -224,9 +225,9 @@ ext rar, has unrar = for file in "$@"; do unrar x "$file"; done # if you install a rare terminal emulator, you probably use it. # gnome-terminal/konsole/xterm on the other hand are often installed as part of # a desktop environment or as fallback terminal emulators. -mime ^ranger/x-terminal-emulator, has terminology = terminology -e "$@" -mime ^ranger/x-terminal-emulator, has kitty = kitty -- "$@" -#mime ^ranger/x-terminal-emulator, has alacritty = alacritty -e "$@" +# mime ^ranger/x-terminal-emulator, has terminology = terminology -e "$@" +# mime ^ranger/x-terminal-emulator, has kitty = kitty -- "$@" +mime ^ranger/x-terminal-emulator, has alacritty = alacritty -e "$@" #mime ^ranger/x-terminal-emulator, has sakura = sakura -e "$@" #mime ^ranger/x-terminal-emulator, has lilyterm = lilyterm -e "$@" #mime ^ranger/x-terminal-emulator, has cool-retro-term = cool-retro-term -e "$@" @@ -240,7 +241,7 @@ mime ^ranger/x-terminal-emulator, has urxvt = urxvt -e "$@" #mime ^ranger/x-terminal-emulator, has pantheon-terminal = pantheon-terminal -e "$@" #mime ^ranger/x-terminal-emulator, has lxterminal = lxterminal -e "$@" #mime ^ranger/x-terminal-emulator, has mate-terminal = mate-terminal -x "$@" -#mime ^ranger/x-terminal-emulator, has xfce4-terminal = xfce4-terminal -x "$@" +mime ^ranger/x-terminal-emulator, has xfce4-terminal = xfce4-terminal -x "$@" #mime ^ranger/x-terminal-emulator, has konsole = konsole -e "$@" #mime ^ranger/x-terminal-emulator, has gnome-terminal = gnome-terminal -- "$@" mime ^ranger/x-terminal-emulator, has xterm = xterm -e "$@"