#!/bin/bash # Install script for ntnsndr's Arch environment echo "Beginning install script for ntnsndr Arch environment" # First, some basic utilities MAKE ARCH-COMPATIBLE sudo apt-get -y install xdg-open # TO DO git # TO DO npm # Ensure .bash_aliases works, not default on Arch cat > ~/.bashrc << EOF if [ -f ~/.bash_aliases ]; then source ~/.bash_aliases fi EOF # Next, core apps # TO DO nextcloud # TO DO keepassxc # emacs MAKE ARCH-COMPATIBLE sudo apt-get -y install emacs-gtk emacs --script install-emacs.el # pandoc MAKE ARCH-COMPATIBLE sudo apt-get -y install pandoc sudo apt-get -y install pandoc-citeproc sudo apt-get -y install texlive # revealjs cd ~/.revealjs git clone https://github.com/hakimel/reveal.js.git cd reveal.js npm install cp ~/.revealjs/ntn.css ~/.revealjs/reveal.js/css/theme/ cd ~ # zotero echo "Go to https://www.zotero.org/download/, download, and put contents in /opt/zotero/ (using sudo)" echo "Done? Hit Enter" read response sudo /opt/zotero/set_launcher_icon ln -s /opt/zotero/zotero.desktop ~/.local/share/applications/zotero.desktop # If we change location, update that in .emacs AND pandout.sh script echo "Installation script complete"