LARBS/old/user.sh
2017-10-08 19:52:15 -07:00

22 lines
671 B
Bash
Executable File

#!/bin/bash
blue() { printf "\033[0;34m $* \033[0m\n" && (echo $* >> LARBS.log) ;}
red() { printf "\033[0;31m $* \033[0m\n" && (echo ERROR: $* >> LARBS.log) ;}
USER=$(cat .firstrun)
blue Changing directory to /home/$USER...
cd /home/$USER
blue Activating Pulseaudio if not already active...
pulseaudio --start && blue Pulseaudio enabled...
curl -O http://lukesmith.xyz/larbs/aur_install.sh && bash aur_install.sh
rm aur_install.sh
blue Downloading config files...
git clone https://github.com/lukesmithxyz/voidrice.git && rsync -va voidrice/ /home/$USER && rm -rf voidrice
blue Generating bash/ranger/qutebrowser shortcuts...
python ~/.config/Scripts/shortcuts.py