summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-04-07 22:27:16 -0400
committerLuke Smith <luke@lukesmith.xyz>2019-04-07 22:27:16 -0400
commitf10999d02be4d0ca75f789ccfe6f644bfcdd2861 (patch)
treebf395243f6a12aa2e4ae7f3257bcb9f8315d958f
parent44e2d2e02b7b07601038c83c6faef2955b1eae3b (diff)
downloadeibhear-f10999d02be4d0ca75f789ccfe6f644bfcdd2861.tar.gz
eibhear-f10999d02be4d0ca75f789ccfe6f644bfcdd2861.tar.zst
eibhear-f10999d02be4d0ca75f789ccfe6f644bfcdd2861.zip
odt preview and epub open
-rw-r--r--.config/vifm/vifmrc3
1 files changed, 2 insertions, 1 deletions
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 &,