diff options
Diffstat (limited to 'bin/nuke')
-rwxr-xr-x | bin/nuke | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -204,6 +204,9 @@ handle_extension() { | |||
204 | ## Preview as text conversion | 204 | ## Preview as text conversion |
205 | odt2txt "${FPATH}" | eval "$PAGER" | 205 | odt2txt "${FPATH}" | eval "$PAGER" |
206 | exit 0 | 206 | exit 0 |
207 | elif [ "$GUI" -ne 0 ] && which libreoffice >/dev/null 2>&1; then | ||
208 | libreoffice "${FPATH}" & | ||
209 | exit 0 | ||
207 | fi | 210 | fi |
208 | exit 1;; | 211 | exit 1;; |
209 | 212 | ||