new scripts

This commit is contained in:
Luke
2017-10-07 15:09:18 -07:00
parent 618208c1e8
commit 0d50d2f5e1
6 changed files with 234 additions and 3 deletions

21
new_user.sh Executable file
View File

@@ -0,0 +1,21 @@
#!/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