AUR browsers

This commit is contained in:
Luke 2017-10-04 15:20:48 -07:00
parent 9c983d59fd
commit cd07bb2058
2 changed files with 18 additions and 2 deletions

View file

@ -44,10 +44,11 @@ clear
brow=(dialog --separate-output --checklist "Select a browser (none or multiple possible):" 22 76 16)
options=(1 "qutebrowser" off # any option can be set to default to "on"
2 "Firefox" off
#3 "Palemoon" off
#4 "Waterfox" off
3 "Palemoon" off
4 "Waterfox" off
)
browch=$("${brow[@]}" "${options[@]}" 2>&1 >/dev/tty)
echo $browch > /home/$USER/browch
clear
printf "\n${BLUE}Now installing main programs.\n${NC}"

15
user.sh
View file

@ -48,6 +48,21 @@ do
;;
esac
done
browsers=$(cat browch)
for choice in $browsers
do
case $choice in
3)
printf "\n${BLUE}Now installing Palemoon...\n${NC}"
aurcheck palemoon-bin
;;
4)
printf "\n${BLUE}Now installing Waterfox...\n${NC}"
aurcheck waterfox-bin
;;
esac
done
printf "${BLUE}Downloading config files...\n${NC}"
git clone https://github.com/lukesmithxyz/voidrice.git && rsync -va voidrice/ /home/$USER && rm -rf voidrice