From 7773058aebe96564f085ac273c48147a2f51f1f5 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Mon, 12 Feb 2024 01:25:37 +0300 Subject: nuke: open libreoffice from nnn --- .local/bin/nuke | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.local/bin/nuke') 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() { ## Preview as text conversion odt2txt "${FPATH}" | eval "$PAGER" exit 0 + elif type libreoffice >/dev/null 2>&1; then + ## Open in LibreOffice + nohup libreoffice "${FPATH}" >/dev/null 2>&1 & + exit 0 fi exit 1;; -- cgit v1.2.3-70-g09d2