Add terminal script

This commit is contained in:
Marco Thomas
2021-08-29 12:48:49 +02:00
parent 056fa8178d
commit 9bb07b87c7
6 changed files with 39 additions and 35 deletions

View File

@@ -1,15 +0,0 @@
#!/bin/bash
OUT=$2
IN=$1
# /printer = bigger
# /ebook = smaller
gs \
-sOutputFile=${OUT} \
-sDEVICE=pdfwrite \
-dNOPAUSE \
-dBATCH \
-dPDFSETTINGS=/printer \
${IN}

7
files/scripts/terminal.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/sh
if [ $USER == "marc" ]; then
alacritty
else
xterm
fi