improving install
This commit is contained in:
parent
93198033eb
commit
9e8db84afc
2 changed files with 18 additions and 6 deletions
16
install.sh
16
install.sh
|
|
@ -4,14 +4,24 @@ targets=("$HOME/.config/" "/etc/" "$HOME/" "$HOME/.config/qutebrowser/")
|
|||
length=${#sources[@]}
|
||||
|
||||
packages="brightnessctl hyprland hyprlock hyprpaper i3status-rust kitty mpv neovim obs-studio qutebrowser ttc-iosevka ttf-nerd-fonts-symbols-mono yazi noto-fonts-emoji"
|
||||
services="greetd"
|
||||
# TODO: need to address need to run as sudo to add symlink to certain folders, maybe ask in outer loop when sudo is needed and set a variable
|
||||
|
||||
dependencies() {
|
||||
pacman() {
|
||||
read -p "Install the following packages : $packages ? (Y/N): " confirm && [[ $confirm == [yY] || $confirm == [yY][eE][sS] ]] || break
|
||||
echo hello
|
||||
sudo pacman -S $packages
|
||||
}
|
||||
|
||||
yay() {
|
||||
# TODO: install yay, and install yay dependencies
|
||||
echo yay
|
||||
}
|
||||
|
||||
systemd() {
|
||||
read -p "Enable the following services : $services ? (Y/N): " confirm && [[ $confirm == [yY] || $confirm == [yY][eE][sS] ]] || break
|
||||
sudo systemctl enable $services
|
||||
}
|
||||
|
||||
update() {
|
||||
for ((i = 0; i < length; i++)); do
|
||||
|
||||
|
|
@ -33,4 +43,4 @@ update() {
|
|||
done
|
||||
}
|
||||
|
||||
update
|
||||
systemd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue