From cd07bb2058de66db3e4d2702e728cb2587efea73 Mon Sep 17 00:00:00 2001 From: Luke Date: Wed, 4 Oct 2017 15:20:48 -0700 Subject: [PATCH] AUR browsers --- root.sh | 5 +++-- user.sh | 15 +++++++++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/root.sh b/root.sh index 4eb6f00..eb2af6a 100755 --- a/root.sh +++ b/root.sh @@ -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}" diff --git a/user.sh b/user.sh index 9ea9537..32c0452 100755 --- a/user.sh +++ b/user.sh @@ -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