aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local/bin/svgtopdf
diff options
context:
space:
mode:
authorYaroslav <contact@yaroslavps.com>2020-05-25 03:44:23 +0300
committerYaroslav <contact@yaroslavps.com>2020-05-25 03:44:23 +0300
commit6e7f4bf69e594cc18640c52785351ab84f42c103 (patch)
tree04b8884621735c5f82dc7fba2f6be3f7c939d559 /dotfiles/.local/bin/svgtopdf
parent7c1ef1ec5e8d54dc9f13f26a6a258a533c181c04 (diff)
downloadswayrice-6e7f4bf69e594cc18640c52785351ab84f42c103.tar.gz
swayrice-6e7f4bf69e594cc18640c52785351ab84f42c103.zip
update svgtopdf script for use with inkscape 1.0
Diffstat (limited to 'dotfiles/.local/bin/svgtopdf')
-rwxr-xr-xdotfiles/.local/bin/svgtopdf2
1 files changed, 1 insertions, 1 deletions
diff --git a/dotfiles/.local/bin/svgtopdf b/dotfiles/.local/bin/svgtopdf
index f59bd98..e97e7e6 100755
--- a/dotfiles/.local/bin/svgtopdf
+++ b/dotfiles/.local/bin/svgtopdf
@@ -6,4 +6,4 @@ base="${file%.*}"
cd "$dir" || exit
-inkscape -z -D --file="$file" --export-pdf="$base.pdf"
+inkscape "$file" -D --export-type=pdf --export-filename="$base.pdf"