This commit is contained in:
hexlocation 2024-07-18 13:02:08 +00:00
parent 5bf98e8110
commit 661f12b0d8

View file

@ -9,8 +9,8 @@ export DEPS=("Hyprland" "foot" "hyprpaper" "ags" "nvim" "zsh" "udevadm")
# for doas users
export AS_ROOT="sudo"
check_omz() {
if [ -e "~/.oh-my-zsh" ]; then
check_p10k() {
if [ -e "~/.p10k.zsh" ]; then
exit 1
fi
}
@ -25,7 +25,7 @@ check_deps() {
err "dependency $DEP not found."
fi
done
check_omz || err "dependency oh-my-zsh not found."
check_p10k || err "dependency oh-my-zsh not found."
notify "all dependencies have been met."
}