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