Files
dotfiles/.scripts/install-arch.sh
T

59 lines
1.6 KiB
Bash

#!/bin/bash
# Install script for ntnsndr's Arch environment
echo "Beginning install script for ntnsndr Arch environment"
# First, some basic utilities
sudo pacman -S xdg-utils
sudo pacman -S nextcloud-client
sudo pacman -S keepassxc
sudo pacman -S git
sudo pacman -S nodejs npm
# Ensure .bash_aliases works, not default on Arch
cat > ~/.bashrc << EOF
if [ -f ~/.bash_aliases ]; then
source ~/.bash_aliases
fi
EOF
# emacs
sudo pacman -S emacs
sudo pacman -S aspell-en # English dictionary
emacs --script ~/.scripts/install-emacs.el
# pandoc
sudo pacman -S pandoc
sudo pacman -S pandoc-citeproc
sudo pacman -S texlive
sudo pacman -S lmodern
# 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 ~
echo "Check correct versions between reveal and pandoc: https://github.com/jgm/pandoc/wiki/Using-pandoc-to-produce-reveal.js-slides"
read response
# zotero
sudo pacman -S zotero
echo "Be sure that the default data location is ~/Zotero. Good?"
# If we change data location from the default ~/Zotero, update that in .emacs AND pandout.sh
read response
# fonts
mkdir .fonts/
echo "Download TTF fonts and put them in ~/.fonts:"
echo "https://fontlibrary.org/en/font/d-din"
echo "https://fonts.google.com/specimen/Roboto (home system)"
echo "https://github.com/be5invis/Iosevka/releases/latest (home terminal)"
echo "https://github.com/JetBrains/JetBrainsMono/releases/latest (POP terminals)"
echo "https://www.latofonts.com/lato-free-fonts/ (office system)"
echo "Good?"
read response
echo "Installation script complete"