nx 223 B

123456789
  1. #!/bin/sh
  2. # TeX template for a beamer presentation
  3. # exit if no argument given
  4. [ -z "$*" ] && echo "Error: Usage: nx [filename]" && exit
  5. cp ~/.config/setup/templates/xournalpp/dotted.xopp .
  6. mv dotted.xopp "${1%.*}.xopp"