2017-09-25 01:11:10 +00:00
|
|
|
#!/bin/bash
|
|
|
|
RED='\033[0;31m'
|
|
|
|
BLUE='\033[0;34m'
|
|
|
|
NC='\033[0m'
|
|
|
|
printf "${BLUE}Changing directory to /home/$USER...\n${NC}"
|
|
|
|
cd /home/$USER
|
|
|
|
|
|
|
|
printf "${BLUE}Activating Pulseaudio if not already active...\n${NC}"
|
|
|
|
pulseaudio --start
|
|
|
|
|
|
|
|
|
|
|
|
printf "${BLUE}Installing packer as an AUR manager...\n${NC}"
|
2017-09-29 02:44:36 +00:00
|
|
|
|
|
|
|
aurinstall() { curl -O https://aur.archlinux.org/cgit/aur.git/snapshot/$1.tar.gz && tar -xvf $1.tar.gz && cd $1 && makepkg --noconfirm -si && cd .. && rm -rf $1 $1.tar.gz ;}
|
|
|
|
|
|
|
|
aurinstall packer || echo "Error installing packer." && exit
|
2017-09-25 01:11:10 +00:00
|
|
|
|
|
|
|
printf "${BLUE}Installing AUR programs...\n${NC}"
|
|
|
|
printf "${BLUE}(May take some time.)\n${NC}"
|
2017-09-30 04:45:54 +00:00
|
|
|
packer --noconfirm -S i3-gaps vim-pathogen neofetch i3lock tamzen-font-git neomutt unclutter-xfixes-git urxvt-resize-font-git polybar-git python-pywal xfce-theme-blackbird || echo "Error installing AUR packages. Check your internet connections and pacman keys." && exit
|
2017-09-25 06:11:46 +00:00
|
|
|
#packer --noconfirm -S ncpamixer-git speedometer cli-visualizer
|
2017-09-30 04:45:54 +00:00
|
|
|
choices=$(cat choices)
|
|
|
|
for choice in $choices
|
|
|
|
do
|
|
|
|
case $choice in
|
|
|
|
1)
|
|
|
|
printf "\n${BLUE}Now installing LaTeX packages...\n${NC}"
|
|
|
|
packer --noconfirm -S vim-live-latex-preview
|
|
|
|
;;
|
|
|
|
6)
|
|
|
|
printf "\n${BLUE}Now installing extra fonts...\n${NC}"
|
|
|
|
pacman --noconfirm --needed -S ttf-ancient-fonts
|
|
|
|
;;
|
|
|
|
7)
|
|
|
|
printf "\n${BLUE}Now installing transmission-remote-cli...\n${NC}"
|
|
|
|
packer --noconfirm -S transmission-remote-cli-git
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
done
|
2017-09-25 01:11:10 +00:00
|
|
|
|
|
|
|
printf "${BLUE}Downloading config files...\n${NC}"
|
2017-09-29 02:44:36 +00:00
|
|
|
git clone https://github.com/lukesmithxyz/voidrice.git && rsync -va voidrice/ /home/$USER && rm -rf voidrice
|
|
|
|
git clone https://github.com/lukesmithxyz/latex-templates.git && mkdir -p /home/$USER/Documents/LaTeX && rsync -va latex-templates /home/$USER/Documents/LaTeX && rm -rf latex-templates
|
|
|
|
|
2017-09-25 01:11:10 +00:00
|
|
|
printf "${BLUE}Generating bash/ranger/qutebrowser shortcuts...\n${NC}"
|
|
|
|
python ~/.config/Scripts/shortcuts.py
|