mirror of
https://github.com/JaKooLit/Debian-Hyprland.git
synced 2025-12-21 10:20:12 +01:00
Merge pull request #152 from JaKooLit/main
Synchronize Main and Development Branches
This commit is contained in:
commit
96745ebb8b
@ -1,5 +1,8 @@
|
|||||||
## Changelogs
|
## Changelogs
|
||||||
|
|
||||||
|
## 28 Aug 2024
|
||||||
|
- Added final check if hyprland is installed and will give an error to user
|
||||||
|
|
||||||
## 24 Aug 2024
|
## 24 Aug 2024
|
||||||
- Created a newer and compatible Hyprland-Dots repo
|
- Created a newer and compatible Hyprland-Dots repo
|
||||||
-
|
-
|
||||||
|
|||||||
10
install.sh
10
install.sh
@ -224,13 +224,15 @@ fi
|
|||||||
|
|
||||||
clear
|
clear
|
||||||
|
|
||||||
|
# Check if either hyprland or hyprland-git is installed
|
||||||
|
if dpkg -l | grep -qw hyprland || dpkg -l | grep -qw hyprland-git; then
|
||||||
printf "\n${OK} Yey! Installation Completed.\n"
|
printf "\n${OK} Yey! Installation Completed.\n"
|
||||||
printf "\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"
|
printf "\n"
|
||||||
printf "\n${NOTE} It is highly recommended to reboot your system.\n\n"
|
printf "\n${NOTE} It is highly recommended to reboot 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
|
||||||
|
|
||||||
if [[ "$HYP" =~ ^[Yy]$ ]]; then
|
if [[ "$HYP" =~ ^[Yy]$ ]]; then
|
||||||
@ -241,3 +243,9 @@ if [[ "$HYP" =~ ^[Yy]$ ]]; then
|
|||||||
systemctl reboot
|
systemctl reboot
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
else
|
||||||
|
# Print error message if neither package is installed
|
||||||
|
printf "\n${NOTE} Hyprland failed to install. Please check Install-Logs...\n\n"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user