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

49 lines
1.1 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-open
sudo pacman -S nodejs npm
sudo pacman -S git
# Ensure .bash_aliases works, not default on Arch
cat > ~/.bashrc << EOF
if [ -f ~/.bash_aliases ]; then
source ~/.bash_aliases
fi
EOF
# Next, core apps
sudo pacman -S nextcloud-client
sudo pacman -S keepassxc
sudo pacman -S firefox-extension-keepassxc-browser
# emacs
sudo pacman -S emacs
emacs --script install-emacs.el
# pandoc
sudo pacman -S pandoc
sudo pacman -S pandoc-citeproc
sudo pacman -S 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"