LARBS/user.sh

23 lines
822 B
Bash
Raw Normal View History

2017-09-25 01:11:10 +00:00
#!/bin/bash
RED='\033[0;31m'
BLUE='\033[0;34m'
NC='\033[0m'
printf "${BLUE}Changing directory to /home/$USER...\n${NC}"
cd /home/$USER
2017-10-02 21:04:53 +00:00
error() { dialog --title "Error!" --msgbox "We've run into a fatal-ish error. Check the LARBS.log file for more information" 10 60 && clear && exit ;}
2017-09-25 01:11:10 +00:00
printf "${BLUE}Activating Pulseaudio if not already active...\n${NC}"
pulseaudio --start
2017-10-06 02:10:28 +00:00
#curl -O http://lukesmith.xyz/larbs/aur_install.sh && bash aur_install.sh
#rm aur_install.sh
2017-10-05 22:42:46 +00:00
curl -O http://lukesmith.xyz/larbs/install_packages.sh
2017-10-06 02:10:28 +00:00
bash install_packages.sh
2017-09-25 01:11:10 +00:00
printf "${BLUE}Downloading config files...\n${NC}"
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-09-25 01:11:10 +00:00
printf "${BLUE}Generating bash/ranger/qutebrowser shortcuts...\n${NC}"
python ~/.config/Scripts/shortcuts.py