summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYigit Sever2024-02-12 01:25:37 +0300
committerYigit Sever2024-02-12 01:25:37 +0300
commit7773058aebe96564f085ac273c48147a2f51f1f5 (patch)
tree1769b00c3b82c2ff80bd9b8647a9153a44d2ffc5
parentdc52316d6bf0b044b5a0ef5d8927e03a8bef208c (diff)
downloaddotfiles-7773058aebe96564f085ac273c48147a2f51f1f5.tar.gz
dotfiles-7773058aebe96564f085ac273c48147a2f51f1f5.tar.bz2
dotfiles-7773058aebe96564f085ac273c48147a2f51f1f5.zip
nuke: open libreoffice from nnn
-rwxr-xr-x.local/bin/nuke4
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