2017-09-25 01:11:10 +00:00
|
|
|
#!/bin/bash
|
2017-10-06 18:06:37 +00:00
|
|
|
|
2017-10-07 21:25:11 +00:00
|
|
|
blue() { printf "\033[0;34m $* \033[0m\n" && (sudo echo $* >> LARBS.log) ;}
|
|
|
|
red() { printf "\033[0;31m $* \033[0m\n" && (sudo echo ERROR: $* >> LARBS.log) ;}
|
2017-10-06 18:06:37 +00:00
|
|
|
|
|
|
|
USER=$(cat .firstrun)
|
2017-10-06 04:59:38 +00:00
|
|
|
blue Changing directory to /home/$USER...
|
2017-10-06 18:06:37 +00:00
|
|
|
|
2017-09-25 01:11:10 +00:00
|
|
|
cd /home/$USER
|
|
|
|
|
2017-10-06 04:59:38 +00:00
|
|
|
blue Activating Pulseaudio if not already active...
|
2017-10-06 18:06:37 +00:00
|
|
|
pulseaudio --start && blue Pulseaudio enabled...
|
2017-09-25 01:11:10 +00:00
|
|
|
|
2017-10-07 21:25:11 +00:00
|
|
|
sudo sh -c "curl -O http://lukesmith.xyz/larbs/aur_install.sh && bash aur_install.sh"
|
2017-10-06 05:11:17 +00:00
|
|
|
rm aur_install.sh
|
2017-09-25 01:11:10 +00:00
|
|
|
|
2017-10-06 04:59:38 +00:00
|
|
|
blue Downloading config files...
|
2017-09-29 02:44:36 +00:00
|
|
|
git clone https://github.com/lukesmithxyz/voidrice.git && rsync -va voidrice/ /home/$USER && rm -rf voidrice
|
|
|
|
|
2017-10-06 04:59:38 +00:00
|
|
|
blue Generating bash/ranger/qutebrowser shortcuts...
|
2017-09-25 01:11:10 +00:00
|
|
|
python ~/.config/Scripts/shortcuts.py
|