From f10999d02be4d0ca75f789ccfe6f644bfcdd2861 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sun, 7 Apr 2019 22:27:16 -0400 Subject: [PATCH] odt preview and epub open --- .config/vifm/vifmrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.config/vifm/vifmrc b/.config/vifm/vifmrc index c6dc1a3..c4844f7 100644 --- a/.config/vifm/vifmrc +++ b/.config/vifm/vifmrc @@ -50,12 +50,13 @@ fileviewer *.html w3m -dump %c filextype *.html,*.htm firefox %f 2>/dev/null & fileviewer *.docx docx2txt %c - +fileviewer *.odt odt2txt %c - filetype *.csv,*.xlsx sc-im %c fileviewer *.csv sed "s/,,,,/,,-,,/g;s/,,/ /g" %c | column -t | sed "s/ - / /g" | cut -c -%pw filetype *.wav,*.mp3,*.flac,*.m4a,*.wma,*.ape,*.ac3,*.og[agx],*.spx,*.opus mpv --no-audio-display --input-ipc-server=/tmp/mpvsoc$(date +%%s) %c -filextype *.pdf,*.ps,*.eps,*.ps.gz,*.djvu zathura %f 2>/dev/null &, +filextype *.pdf,*.ps,*.eps,*.ps.gz,*.djvu,*.epub zathura %f 2>/dev/null &, fileviewer *.pdf pdftotext -l 1 -nopgbrk %c - fileviewer *.avi,*.mp4,*.wmv,*.dat,*.3gp,*.ogv,*.mkv,*.mpg,*.mpeg,*.vob,*.fl[icv],*.m2v,*.mov,*.webm,*.ts,*.mts,*.m4v,*.qt,*.divx,*.as[fx],*mp3,*.flac mediafile %c filextype *.avi,*.mp4,*.wmv,*.dat,*.3gp,*.ogv,*.mkv,*.mpg,*.mpeg,*.vob,*.fl[icv],*.m2v,*.mov,*.webm,*.ts,*.mts,*.m4v,*.r[am],*.qt,*.divx,*.as[fx] mpv --input-ipc-server=/tmp/mpvsoc$(date +%%s) %f 2>/dev/null &,