diff --git a/install.sh b/install.sh index 492dc66..f6dcf04 100755 --- a/install.sh +++ b/install.sh @@ -33,6 +33,15 @@ source-script() { fi } +get-dependencies() { + depends=( + stow + git + ) + + check-and-install ${depends[@]} +} + __pre_stow__() { pen blue "Getting things ready.." sleep 2 @@ -193,7 +202,7 @@ __validate__() { else echo-error "Something went terribly wrong" - exit 1 + exit 69 fi } @@ -228,11 +237,7 @@ __dep__() { instPika yazi ;; hyprland) - # if ! $arch; then instPika hyprland - # else - # pkg-install hyprland hypridle hyprshot - # fi ;; hyprpanel) instPika hyprpanel @@ -240,17 +245,24 @@ __dep__() { neovim) if $neovim; then instPika neovim - if confirm "Do you also want to install a neovide config?"; then + if confirm "Do you also want to install a neovide config?"