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 # for doas users
export AS_ROOT="sudo" export AS_ROOT="sudo"
check_omz() { check_p10k() {
if [ -e "~/.oh-my-zsh" ]; then if [ -e "~/.p10k.zsh" ]; then
exit 1 exit 1
fi fi
} }
@ -25,7 +25,7 @@ check_deps() {
err "dependency $DEP not found." err "dependency $DEP not found."
fi fi
done 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." notify "all dependencies have been met."
} }