larbs

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit cd07bb2058de66db3e4d2702e728cb2587efea73
parent 9c983d59fd560139a83aabaa44433394b2e37b52
Author: Luke <luke@lukesmith.xyz>
Date:   Wed,  4 Oct 2017 15:20:48 -0700

AUR browsers

Diffstat:
Mroot.sh | 5+++--
Muser.sh | 15+++++++++++++++
2 files changed, 18 insertions(+), 2 deletions(-)

diff --git 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 @@ -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