LARBS/old/new_user.sh

22 lines
671 B
Bash
Raw Normal View History

2017-10-09 04:52:15 +02:00
#!/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