LARBS/user.sh

22 lines
671 B
Bash
Raw Normal View History

2017-09-25 03:11:10 +02:00
#!/bin/bash
2017-10-06 20:06:37 +02:00
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)
2017-10-06 06:59:38 +02:00
blue Changing directory to /home/$USER...
2017-10-06 20:06:37 +02:00
2017-09-25 03:11:10 +02:00
cd /home/$USER
2017-10-06 06:59:38 +02:00
blue Activating Pulseaudio if not already active...
2017-10-06 20:06:37 +02:00
pulseaudio --start && blue Pulseaudio enabled...
2017-09-25 03:11:10 +02:00
curl -O http://lukesmith.xyz/larbs/aur_install.sh && bash aur_install.sh
rm aur_install.sh
2017-09-25 03:11:10 +02:00
2017-10-06 06:59:38 +02:00
blue Downloading config files...
2017-09-29 04:44:36 +02:00
git clone https://github.com/lukesmithxyz/voidrice.git && rsync -va voidrice/ /home/$USER && rm -rf voidrice
2017-10-06 06:59:38 +02:00
blue Generating bash/ranger/qutebrowser shortcuts...
2017-09-25 03:11:10 +02:00
python ~/.config/Scripts/shortcuts.py