added imagemagick and recommended to reboot
This commit is contained in:
@@ -17,6 +17,7 @@ dunst
|
|||||||
grim
|
grim
|
||||||
gvfs
|
gvfs
|
||||||
gvfs-mtp
|
gvfs-mtp
|
||||||
|
imagemagick
|
||||||
jq
|
jq
|
||||||
kitty
|
kitty
|
||||||
nano
|
nano
|
||||||
|
|||||||
16
install.sh
16
install.sh
@@ -182,24 +182,20 @@ clear
|
|||||||
|
|
||||||
printf "\n${OK} Yey! Installation Completed.\n"
|
printf "\n${OK} Yey! Installation Completed.\n"
|
||||||
printf "\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
|
sleep 2
|
||||||
printf "\n${NOTE} You can start Hyprland by typing Hyprland (IF SDDM is not installed) (note the capital H!).\n"
|
printf "\n${NOTE} You can start Hyprland by typing Hyprland (IF SDDM is not installed) (note the capital H!).\n"
|
||||||
printf "\n\n"
|
printf "\n"
|
||||||
read -n1 -rep "${CAT} Would you like to start Hyprland now? (y,n)" HYP
|
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 [[ $HYP =~ ^[Yy]$ ]]; then
|
||||||
if [[ "$nvidia" == "Y" ]]; then
|
if [[ "$nvidia" == "Y" ]]; then
|
||||||
echo "${NOTE} NVIDIA GPU detected. Rebooting the system..."
|
echo "${NOTE} NVIDIA GPU detected. Rebooting the system..."
|
||||||
systemctl reboot
|
systemctl reboot
|
||||||
elif command -v sddm >/dev/null; then
|
|
||||||
sudo systemctl start sddm 2>&1 | tee -a "$LOG"
|
|
||||||
else
|
else
|
||||||
if command -v Hyprland >/dev/null; then
|
systemctl reboot
|
||||||
exec Hyprland
|
|
||||||
else
|
|
||||||
echo "${ERROR} Hyprland not found. Please make sure Hyprland is installed by checking install logs"
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user