From 91dec4b0be776dfb6c32923951158d2a0864565a Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Fri, 10 Nov 2023 21:43:32 +0900 Subject: [PATCH] added imagemagick and recommended to reboot --- install-scripts/00-hypr-pkgs.sh | 3 ++- install.sh | 16 ++++++---------- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/install-scripts/00-hypr-pkgs.sh b/install-scripts/00-hypr-pkgs.sh index 0c49149..1c52df7 100644 --- a/install-scripts/00-hypr-pkgs.sh +++ b/install-scripts/00-hypr-pkgs.sh @@ -16,7 +16,8 @@ cliphist dunst grim gvfs -gvfs-mtp +gvfs-mtp +imagemagick jq kitty nano diff --git a/install.sh b/install.sh index f248cf4..8d092a6 100644 --- a/install.sh +++ b/install.sh @@ -182,24 +182,20 @@ clear printf "\n${OK} Yey! Installation Completed.\n" printf "\n" -printf "\n${NOTE} NOTICE TO NVIDIA OWNERS! System will reboot your system!\n" +printf "\n${NOTE} NOTICE TO NVIDIA OWNERS! IT's a MUST for your to reboot your system\n" sleep 2 printf "\n${NOTE} You can start Hyprland by typing Hyprland (IF SDDM is not installed) (note the capital H!).\n" -printf "\n\n" -read -n1 -rep "${CAT} Would you like to start Hyprland now? (y,n)" HYP +printf "\n" +printf "\n${NOTE} It is highly recommended to reboot your system.\n\n" +read -n1 -rep "${CAT} Would you like to reboot now? (y,n)" HYP if [[ $HYP =~ ^[Yy]$ ]]; then if [[ "$nvidia" == "Y" ]]; then echo "${NOTE} NVIDIA GPU detected. Rebooting the system..." systemctl reboot - elif command -v sddm >/dev/null; then - sudo systemctl start sddm 2>&1 | tee -a "$LOG" else - if command -v Hyprland >/dev/null; then - exec Hyprland - else - echo "${ERROR} Hyprland not found. Please make sure Hyprland is installed by checking install logs" - fi + systemctl reboot + fi fi