mirror of
https://github.com/JaKooLit/Debian-Hyprland.git
synced 2025-12-21 10:20:12 +01:00
edit/adjusted some scripts
This commit is contained in:
parent
8c36245131
commit
337d1bd7fd
@ -67,7 +67,9 @@ printf "${NOTE} Installing Thunar Packages...\n"
|
||||
echo -e "${NOTE} Backed up $DIR1 to $DIRPATH-back-up."
|
||||
fi
|
||||
done
|
||||
cp -r assets/xfce4 ~/.config/ && { echo "Copy xfce4 completed!"; } || { echo "Error: Failed to copy xfce4 config files."; exit 1; } 2>&1 | tee -a "$LOG"
|
||||
cp -r assets/Thunar ~/.config/ && { echo "Copy Thunar completed!"; } || { echo "Error: Failed to copy Thunar config files."; exit 1; } 2>&1 | tee -a "$LOG"
|
||||
|
||||
# copying from assets
|
||||
cp -r assets/xfce4 ~/.config/ && echo "Copy xfce4 completed!" || echo "Error: Failed to copy xfce4 config files." 2>&1 | tee -a "$LOG"
|
||||
cp -r assets/Thunar ~/.config/ && echo "Copy Thunar completed!" || echo "Error: Failed to copy Thunar config files." 2>&1 | tee -a "$LOG"
|
||||
|
||||
clear
|
||||
|
||||
@ -50,7 +50,7 @@ printf "${WARN} ### ------------------------------------------------------------
|
||||
printf "${NOTE} ## CHECK OUT README FOR ADDITIONAL STEPS REQUIRED ONCE ZSH AND OH-MY-ZSH INSTALLED ##\n"
|
||||
printf "\n"
|
||||
printf "\n"
|
||||
read -n1 -rep "${CAT} OPTIONAL - Would you like to install zsh and oh-my-zsh and use as default shell? (y/n)" zsh
|
||||
read -rp "${CAT} OPTIONAL - Would you like to install zsh and oh-my-zsh and use as default shell? (y/n) " zsh
|
||||
echo
|
||||
|
||||
if [[ $zsh =~ ^[Yy]$ ]]; then
|
||||
|
||||
@ -215,20 +215,18 @@ clear
|
||||
|
||||
printf "\n${OK} Yey! Installation Completed.\n"
|
||||
printf "\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"
|
||||
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
|
||||
read -rp "${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
|
||||
else
|
||||
systemctl reboot
|
||||
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user