diff options
Diffstat (limited to '.local/bin')
-rwxr-xr-x | .local/bin/nuke | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.local/bin/nuke b/.local/bin/nuke index cbcf3a3..c287b5a 100755 --- a/.local/bin/nuke +++ b/.local/bin/nuke | |||
@@ -217,6 +217,10 @@ handle_extension() { | |||
217 | ## Preview as text conversion | 217 | ## Preview as text conversion |
218 | odt2txt "${FPATH}" | eval "$PAGER" | 218 | odt2txt "${FPATH}" | eval "$PAGER" |
219 | exit 0 | 219 | exit 0 |
220 | elif type libreoffice >/dev/null 2>&1; then | ||
221 | ## Open in LibreOffice | ||
222 | nohup libreoffice "${FPATH}" >/dev/null 2>&1 & | ||
223 | exit 0 | ||
220 | fi | 224 | fi |
221 | exit 1;; | 225 | exit 1;; |
222 | 226 | ||