summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYigit Sever2020-07-06 12:47:10 +0300
committerYigit Sever2020-07-06 12:47:10 +0300
commite269126e602c47693902c63650116e78e1286c35 (patch)
tree84c330874678e42c7cd4e9398988df773746b7b2
parente8bc09efb987ee062ec3159c6b668b886c9aed9e (diff)
downloaddotfiles-e269126e602c47693902c63650116e78e1286c35.tar.gz
dotfiles-e269126e602c47693902c63650116e78e1286c35.tar.bz2
dotfiles-e269126e602c47693902c63650116e78e1286c35.zip
nuke can open libreoffice
-rwxr-xr-xbin/nuke3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/nuke b/bin/nuke
index d536aac..89a1e75 100755
--- a/bin/nuke
+++ b/bin/nuke
@@ -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