summaryrefslogtreecommitdiffstats
path: root/.bin/resume-to-pdf
blob: 04dfba815dade1f85132a716c98bdd33f43ea971 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

src="https://rgoncalves.se/a/resume.html"
out="resume.pdf"
margin="2cm"

wkhtmltopdf --page-size A4 \
	--orientation portrait \
	--dpi 300 \
	--image-dpi 300 \
	--image-quality 100 \
	--margin-top "${margin}" \
	--margin-right "${margin}" \
	--margin-bottom "${margin}" \
	--margin-left "${margin}" \
	"${src}" \
	"${out}"
remember that computers suck.