From f0452e060bd0b1ca9684c14f9f457d231be4afd5 Mon Sep 17 00:00:00 2001 From: pika Date: Thu, 29 May 2025 09:20:15 +0200 Subject: [PATCH] Fixed the install.sh? --- install.sh | 124 +++++++++++++++++++++++++++++++++-------------------- 1 file changed, 78 insertions(+), 46 deletions(-) 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?"