diff options
| author | anggatd <128944502+anggatd@users.noreply.github.com> | 2023-04-20 19:32:31 +0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-20 12:32:31 +0000 |
| commit | c08949ebd2aeeec220b63da6a32542a0210bac38 (patch) | |
| tree | bf6446e56e91f3224795e43e2d8d35e1663ea654 /.config/lf | |
| parent | d4ff2ebaf3e88efe20cae0d1e592fddfc433c96e (diff) | |
| download | eibhear-c08949ebd2aeeec220b63da6a32542a0210bac38.tar.gz eibhear-c08949ebd2aeeec220b63da6a32542a0210bac38.tar.zst eibhear-c08949ebd2aeeec220b63da6a32542a0210bac38.zip | |
Change LibreOffice binaries to libreoffice (#1294)
In the current update, the libreoffice package doesn't have any binary for libreoffice writer, calc, impress, draw, etc. So it's better to open all of the document using the 'libreoffice' binary as it can work in the old version of libreoffice as well as the new one.
Diffstat (limited to '.config/lf')
| -rw-r--r-- | .config/lf/lfrc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/.config/lf/lfrc b/.config/lf/lfrc index 6017255..63418f6 100644 --- a/.config/lf/lfrc +++ b/.config/lf/lfrc @@ -45,12 +45,7 @@ cmd open ${{ video/*) setsid -f mpv $f -quiet >/dev/null 2>&1 ;; application/pdf|application/vnd.djvu|application/epub*) setsid -f zathura $fx >/dev/null 2>&1 ;; application/pgp-encrypted) $EDITOR $fx ;; - application/vnd.openxmlformats-officedocument.wordprocessingml.document|application/vnd.oasis.opendocument.text) setsid -f lowriter $fx >/dev/null 2>&1 ;; - application/vnd.openxmlformats-officedocument.spreadsheetml.sheet|application/octet-stream|application/vnd.oasis.opendocument.spreadsheet|application/vnd.oasis.opendocument.spreadsheet-template) setsid -f localc $fx >/dev/null 2>&1 ;; - application/vnd.openxmlformats-officedocument.presentationml.presentation|application/vnd.oasis.opendocument.presentation-template|application/vnd.oasis.opendocument.presentation|application/vnd.ms-powerpoint) setsid -f loimpress $fx >/dev/null 2>&1 ;; - application/vnd.oasis.opendocument.graphics|application/vnd.oasis.opendocument.graphics-template) setsid -f lodraw $fx >/dev/null 2>&1 ;; - application/vnd.oasis.opendocument.formula) setsid -f lomath $fx >/dev/null 2>&1 ;; - application/vnd.oasis.opendocument.database) setsid -f lobase $fx >/dev/null 2>&1 ;; + application/vnd.openxmlformats-officedocument.wordprocessingml.document|application/vnd.oasis.opendocument.text|application/vnd.openxmlformats-officedocument.spreadsheetml.sheet|application/octet-stream|application/vnd.oasis.opendocument.spreadsheet|application/vnd.oasis.opendocument.spreadsheet-template|application/vnd.openxmlformats-officedocument.presentationml.presentation|application/vnd.oasis.opendocument.presentation-template|application/vnd.oasis.opendocument.presentation|application/vnd.ms-powerpoint|application/vnd.oasis.opendocument.graphics|application/vnd.oasis.opendocument.graphics-template|application/vnd.oasis.opendocument.formula|application/vnd.oasis.opendocument.database) setsid -f libreoffice $fx >/dev/null 2>&1 ;; *) for f in $fx; do setsid -f $OPENER $f >/dev/null 2>&1; done;; esac }} |
