.
This commit is contained in:
parent
281b557b36
commit
8a72402509
1 changed files with 13 additions and 7 deletions
20
install.sh
20
install.sh
|
@ -129,21 +129,22 @@ __validate__() {
|
|||
echo_warning "curl was not found, could not install yazi!"
|
||||
fi
|
||||
fi
|
||||
fileMgr="yazi"
|
||||
;;
|
||||
[rR] | ranger)
|
||||
cloneDots "ranger"
|
||||
pkgOption="${pkgOption:ranger}"
|
||||
fileMgr="ranger"
|
||||
;;
|
||||
[lL] | lf)
|
||||
cloneDots "lf"
|
||||
pkgOption="${pkgOption:lf}"
|
||||
fileMgr="lf"
|
||||
;;
|
||||
esac
|
||||
|
||||
case "$askMultiPlexer" in
|
||||
[tT] | tmux)
|
||||
cloneDots "tmux"
|
||||
pkgOption="${pkgOption:tmux}"
|
||||
multiPlx="tmux"
|
||||
;;
|
||||
[zZ] | zellij)
|
||||
cloneDots "zellij"
|
||||
|
@ -154,6 +155,7 @@ __validate__() {
|
|||
echo_warning "curl was not found, could not install zellij!"
|
||||
fi
|
||||
fi
|
||||
multiPlx="zellij"
|
||||
;;
|
||||
esac
|
||||
else
|
||||
|
@ -174,10 +176,12 @@ __validate__() {
|
|||
|
||||
__dep__() {
|
||||
_depss=(
|
||||
"${pkgOption[@]}"
|
||||
"$fileMgr"
|
||||
"$multiPlx"
|
||||
"stow"
|
||||
"btop"
|
||||
"entr"
|
||||
"keychain"
|
||||
"unzip"
|
||||
"zip"
|
||||
"fzf"
|
||||
|
@ -194,14 +198,16 @@ __dep__() {
|
|||
echo_info "$hyprdots_dependency is already installed"
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
yazi)
|
||||
if ! command_exists "$hyprdots_dependency"; then
|
||||
echo_note "--- installing $hyprdots_dependency ---"
|
||||
_install "$hyprdots_dependency"
|
||||
eval "$(curl -fsSL https://git.k4li.de/scripts/installs/raw/branch/main/yazi.sh)"
|
||||
else
|
||||
echo_info "$hyprdots_dependency is already installed"
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
checkAndInstall "$hyprdots_dependency"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue