diff --git a/install-scripts/xdph.sh b/install-scripts/xdph.sh index 6653dc1..434d71e 100755 --- a/install-scripts/xdph.sh +++ b/install-scripts/xdph.sh @@ -2,10 +2,6 @@ # 💫 https://github.com/JaKooLit 💫 # # XDG-Desktop-Portals hyprland # -if [[ $USE_PRESET = [Yy] ]]; then - source ./preset.sh -fi - xdg=( xdg-desktop-portal-hyprland xdg-desktop-portal-gtk diff --git a/install.sh b/install.sh index c94da26..6001fbd 100755 --- a/install.sh +++ b/install.sh @@ -179,7 +179,10 @@ if lspci | grep -i "nvidia" &> /dev/null; then ask_yes_no "-${YELLOW}NVIDIA${RESET} GPU is detected. Do you want script to configure it?" nvidia fi printf "\n" -ask_custom_option "-Type ${YELLOW}AUR helper${RESET} wanted" "paru or yay" aur_helper +# Check first if yay or paru is installed before askiing aur helper +if ! command -v yay &>/dev/null && ! command -v paru &>/dev/null; then + ask_custom_option "-Type ${YELLOW}AUR helper${RESET} wanted" "paru or yay" aur_helper +fi printf "\n" ask_yes_no "-Install ${YELLOW}GTK themes${RESET} (required for Dark/Light function)?" gtk_themes printf "\n"