diff options
| -rw-r--r-- | gohan.sh | 6 | ||||
| -rw-r--r-- | packages.csv | 1 | 
2 files changed, 7 insertions, 0 deletions
@@ -85,6 +85,7 @@ install_software() {      n=$((n+1))      echo "$comment" | grep "^\".*\"$" >/dev/null 2>&1 && comment="$(echo "$comment" | sed "s/\(^\"\|\"$\)//g")"      case "$tag" in +      "A") install_from_aur "$program" "$comment" ;;        "G") install_from_github "$program" "$comment" ;;        *) install_package "$program" "$comment" ;;      esac @@ -96,6 +97,11 @@ install_package() {    install_from_pacman "$1"  } +install_from_aur() { +  dialog --title "GOHAN Installation" --infobox "Installing \`$1\` ($n of $total) from the AUR. $1 $2" 5 70 +  sudo -u "$name" yay -S --noconfirm "$1" >/dev/null 2>&1 +} +  install_from_github() {    progname="$(basename "$1" .git)"    repodir="/home/$name/.local/src" diff --git a/packages.csv b/packages.csv index 8715258..84c6944 100644 --- a/packages.csv +++ b/packages.csv @@ -7,6 +7,7 @@  ,terminus-font,is a monospace font that can be used in st  ,xorg-server,is the display server  ,xorg-xinit,will allow us to start the display server +A,brave-bin,is a free and open-source web browser that blocks ads and website trackers  G,https://github.com/davidtsadler/dmenu.git,is a dynamic menu  G,https://github.com/davidtsadler/dwm.git,is a dynamic window manager  G,https://github.com/davidtsadler/st.git,is a simple terminal  | 
