diff --git a/.config/dots/install.sh b/.config/dots/install.sh index a794f29..0e1faf2 100755 --- a/.config/dots/install.sh +++ b/.config/dots/install.sh @@ -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." }