From e269126e602c47693902c63650116e78e1286c35 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Mon, 6 Jul 2020 12:47:10 +0300 Subject: nuke can open libreoffice --- bin/nuke | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bin/nuke') diff --git a/bin/nuke b/bin/nuke index d536aac..89a1e75 100755 --- a/bin/nuke +++ b/bin/nuke @@ -204,6 +204,9 @@ handle_extension() { ## Preview as text conversion odt2txt "${FPATH}" | eval "$PAGER" exit 0 + elif [ "$GUI" -ne 0 ] && which libreoffice >/dev/null 2>&1; then + libreoffice "${FPATH}" & + exit 0 fi exit 1;; -- cgit v1.2.3-70-g09d2