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

63 lines
1.7 KiB
Bash
Executable File

#!/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
# Canon printer
sudo pacman -S cndrvcups-lb
sudo pacman -S system-config-printer
echo "At the end, use the Print Settings GUI to set up the printer"
read response
# 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 texlive-core
# revealjs
cd ~/.revealjs
rm -rf reveal.js/ # remove existing install
git clone https://github.com/hakimel/reveal.js.git
cd reveal.js
npm install
cp ~/.revealjs/ntn.css ~/.revealjs/reveal.js/dist/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-bin
echo "For Zotero, see installation notes in ~/Cloud/Notes/Config.md. 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://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"