42 lines
1.5 KiB
Bash
Executable File
42 lines
1.5 KiB
Bash
Executable File
#!/bin/sh
|
|
|
|
#-----------------------------------
|
|
# Name: install-yay
|
|
# Version: 1.0.0
|
|
# Author: Solomon Laing
|
|
# Description:
|
|
# Installs the AUR helper yay on the
|
|
# system.
|
|
#-----------------------------------
|
|
|
|
# configure extra system things like lightdm, etc.
|
|
|
|
# set up correct xmonad.sh e.g. if on laptop, set a copy that only has one xmobar?
|
|
|
|
read -r -p "This process is not complete... [enter] " input
|
|
|
|
# set shell to fish
|
|
if command -v fish &> /dev/null; then
|
|
read -r -p "You have the fish shell installed, would you like to set this as your default shell? [y/N]"
|
|
case $input in
|
|
[yY][eE][sS] | [yY])
|
|
echo "Okay, setting shell to fish."
|
|
chsh -s `which fish`
|
|
;;
|
|
[nN][oO] | [nN])
|
|
echo "Okay, not setting shell."
|
|
;;
|
|
*)
|
|
echo "Invalid input... Not setting shell."
|
|
;;
|
|
esac
|
|
fi
|
|
|
|
# notify about steam issue (multilib)
|
|
echo "Unfortunately Steam cannot be installed as [multilib] must be enabled first. Instructions for how to do this can be found at: https://wiki.archlinux.org/index.php/Official_repositories#Enabling_multilib"
|
|
read -r -p "Press [ENTER] to continue.."
|
|
|
|
# notify user that there may be extra steps to finish install
|
|
echo "This script has installed all of my default programs however it may not have configured many things. My dotfiles may cover some of these but things such as gnome-keyring (using the pam method), as well as setting up nvidia and xorg may need some extra attention. There are likely more that I have forgotton as well."
|
|
read -r -p "Press [ENTER] to complete.."
|