Changing from i3 to dwm - tidied ip bin folder
This commit is contained in:
parent
265a3ad84e
commit
8ced2f42f5
47 changed files with 254 additions and 245 deletions
22
bin/conversion/code-to-pdf
Executable file
22
bin/conversion/code-to-pdf
Executable file
|
@ -0,0 +1,22 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
TITLE="$1"
|
||||
shift
|
||||
|
||||
enscript -1 --media=A4 \
|
||||
--toc \
|
||||
--header '%H - $N | | page $% of $= in file $v' \
|
||||
--font "Menlo-Regular@8.5" \
|
||||
--header-font "Menlo-Bold@10" \
|
||||
--margins=60:60:18:60 \
|
||||
--fancy-header=sjl \
|
||||
--title $TITLE \
|
||||
--baselineskip 3 \
|
||||
--line-numbers \
|
||||
--highlight \
|
||||
--color \
|
||||
--mark-wrapped-lines=arrow \
|
||||
-p - \
|
||||
--word-wrap $* \
|
||||
| ps2pdf -i -o code.pdf
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue