minor update
This commit is contained in:
@@ -305,7 +305,6 @@ fi
|
|||||||
if [ "$sddm" == "Y" ]; then
|
if [ "$sddm" == "Y" ]; then
|
||||||
execute_script "sddm.sh"
|
execute_script "sddm.sh"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$sddm_theme" == "Y" ]; then
|
if [ "$sddm_theme" == "Y" ]; then
|
||||||
execute_script "sddm_theme.sh"
|
execute_script "sddm_theme.sh"
|
||||||
fi
|
fi
|
||||||
@@ -317,7 +316,6 @@ fi
|
|||||||
if [ "$zsh" == "Y" ]; then
|
if [ "$zsh" == "Y" ]; then
|
||||||
execute_script "zsh.sh"
|
execute_script "zsh.sh"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$pokemon_choice" == "Y" ]; then
|
if [ "$pokemon_choice" == "Y" ]; then
|
||||||
execute_script "zsh_pokemon.sh"
|
execute_script "zsh_pokemon.sh"
|
||||||
fi
|
fi
|
||||||
@@ -360,15 +358,13 @@ if pacman -Q hyprland &> /dev/null || pacman -Q hyprland-git &> /dev/null; then
|
|||||||
printf "\n${NOTE} You can start Hyprland by typing ${SKY_BLUE}Hyprland${RESET} (IF SDDM is not installed) (note the capital H!).\n"
|
printf "\n${NOTE} You can start Hyprland by typing ${SKY_BLUE}Hyprland${RESET} (IF SDDM is not installed) (note the capital H!).\n"
|
||||||
printf "\n${NOTE} However, it is ${YELLOW}highly recommended to reboot${RESET} your system.\n\n"
|
printf "\n${NOTE} However, it is ${YELLOW}highly recommended to reboot${RESET} your system.\n\n"
|
||||||
|
|
||||||
# Prompt user to reboot
|
|
||||||
read -rp "${CAT} Would you like to reboot now? (y/n): " HYP
|
read -rp "${CAT} Would you like to reboot now? (y/n): " HYP
|
||||||
|
|
||||||
# Normalize user input to lowercase
|
|
||||||
HYP=$(echo "$HYP" | tr '[:upper:]' '[:lower:]')
|
HYP=$(echo "$HYP" | tr '[:upper:]' '[:lower:]')
|
||||||
|
|
||||||
if [[ "$HYP" == "y" || "$HYP" == "yes" ]]; then
|
if [[ "$HYP" == "y" || "$HYP" == "yes" ]]; then
|
||||||
echo "${INFO} Rebooting now..."
|
echo "${INFO} Rebooting now..."
|
||||||
reboot # Optionally reboot if the user agrees
|
systemctl reboot
|
||||||
elif [[ "$HYP" == "n" || "$HYP" == "no" ]]; then
|
elif [[ "$HYP" == "n" || "$HYP" == "no" ]]; then
|
||||||
echo "${OK} You choose NOT to reboot"
|
echo "${OK} You choose NOT to reboot"
|
||||||
printf "\n%.0s" {1..1}
|
printf "\n%.0s" {1..1}
|
||||||
|
|||||||
Reference in New Issue
Block a user