LARBS/user.sh

23 lines
822 B
Bash
Raw Normal View History

2017-09-25 03:11:10 +02: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 23:04:53 +02: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 03:11:10 +02:00
printf "${BLUE}Activating Pulseaudio if not already active...\n${NC}"
pulseaudio --start
2017-10-06 04:10:28 +02:00
#curl -O http://lukesmith.xyz/larbs/aur_install.sh && bash aur_install.sh
#rm aur_install.sh
2017-10-06 00:42:46 +02:00
curl -O http://lukesmith.xyz/larbs/install_packages.sh
2017-10-06 04:10:28 +02:00
bash install_packages.sh
2017-09-25 03:11:10 +02:00
printf "${BLUE}Downloading config files...\n${NC}"
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-09-25 03:11:10 +02:00
printf "${BLUE}Generating bash/ranger/qutebrowser shortcuts...\n${NC}"
python ~/.config/Scripts/shortcuts.py