diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-07-08 18:20:30 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-07-08 18:20:30 -0300 |
commit | 2be946124031a3a4ef9acc96470025f5f02c4313 (patch) | |
tree | 72905c6a1567ccc1e990dff121de8a4d431c0f8c | |
parent | 4c6259e12abb40d5bc60424ea8eea5e49c4e5615 (diff) | |
download | wrappers-2be946124031a3a4ef9acc96470025f5f02c4313.tar.gz wrappers-2be946124031a3a4ef9acc96470025f5f02c4313.tar.bz2 |
Adds export-kobo and argument passing into office
-rwxr-xr-x | export-kobo | 12 | ||||
-rwxr-xr-x | office | 2 |
2 files changed, 13 insertions, 1 deletions
diff --git a/export-kobo b/export-kobo new file mode 100755 index 0000000..f55ddc5 --- /dev/null +++ b/export-kobo @@ -0,0 +1,12 @@ +#!/bin/bash +# +# Wrapper for office application. +# + +# Parameters +DIRNAME="`dirname $0`" + +# Dispatch +if [ -e "$DIRNAME/../export-kobo/export-kobo.py" ]; then + python3 $DIRNAME/../export-kobo/export-kobo.py "$@" +fi @@ -4,4 +4,4 @@ # # Dispatch -firejail --quiet soffice +firejail --quiet soffice "$@" |