Lots of config changes to things

This commit is contained in:
Jonathan Hodgson 2019-01-08 16:26:44 +00:00
parent b05f18aeea
commit 930159d492
15 changed files with 619 additions and 57 deletions

View file

@ -147,3 +147,7 @@ alias servermem='toilet -w 200 "VPS 01" && ssh shires free -h && toilet -w 200 "
# Updates time using ntp
alias updateTime="sudo ntpd -qg"
# Keyboard - reset
# Sometimes, if I turn the screens off, the keyboard resets itself to defaults. Not sure why but this will put my keyboard back to how I like it
alias kb="xmodmap ~/.Xmodmap; xset r rate 200 70; xcape"

View file

@ -81,7 +81,7 @@ function createFPLreport(){
newFile="$1"
newFile="${newFile%.*}.pdf"
fi
pandoc --template fellowship.latex --pdf-engine=xelatex $1 -o $newFile
pandoc --template fellowship.latex --listings --highlight-style=pygments --pdf-engine=xelatex $1 -o $newFile
else
echo "Oops. You need to suply a file"
return 1