aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-07-08 18:20:30 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-07-08 18:20:30 -0300
commit2be946124031a3a4ef9acc96470025f5f02c4313 (patch)
tree72905c6a1567ccc1e990dff121de8a4d431c0f8c
parent4c6259e12abb40d5bc60424ea8eea5e49c4e5615 (diff)
downloadwrappers-2be946124031a3a4ef9acc96470025f5f02c4313.tar.gz
wrappers-2be946124031a3a4ef9acc96470025f5f02c4313.tar.bz2
Adds export-kobo and argument passing into office
-rwxr-xr-xexport-kobo12
-rwxr-xr-xoffice2
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
diff --git a/office b/office
index cf8fc3b..475209f 100755
--- a/office
+++ b/office
@@ -4,4 +4,4 @@
#
# Dispatch
-firejail --quiet soffice
+firejail --quiet soffice "$@"