diff options
Diffstat (limited to 'libreoffice')
| -rwxr-xr-x | libreoffice | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libreoffice b/libreoffice new file mode 100755 index 0000000..054af3f --- /dev/null +++ b/libreoffice @@ -0,0 +1,6 @@ +#!/bin/sh +# Wrapper: log file opens to fre, then exec real libreoffice. +for arg in "$@"; do + [ -f "$arg" ] && fre --add "$(readlink -f "$arg")" 2>/dev/null +done +exec /usr/bin/libreoffice "$@" |
