diff --git a/README.md b/README.md index 888be75..a658a62 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ sudo nano /etc/apt/sources.list > For Ubuntu 24.04 LTS, no need to edit the /etc/apt/sources.list > [!IMPORTANT] -> If you are using Gnome already, DO NOT install the SDDM. The GDM works file as well. For some reason, during installation, you will be asked which login manager you wanted to use. But during my test, nothing happened. +> If you are using Gnome already, DO NOT install the SDDM. The GDM Login Manager works well with Hyprland. For some reason, during installation, you will be asked which login manager you wanted to use. But during my test, nothing happened. > [!CAUTION] > For Ubuntu with NVIDIA GPU's, make sure to edit the install-scripts/nvidia.sh . Delete all packages in nvidia_pkg except libva-wayland2 and nvidia-vaapi-driver and uncomment/remove # before sudo ubuntu-drivers install. You also need to delete or simply just add # in the lines 37 and 38 echo "echo "## for nvidia" | sudo tee -a... and echo "deb http://deb.debian.org/debian........ diff --git a/install-scripts/nvidia.sh b/install-scripts/nvidia.sh index 1d6eb5f..917bb25 100755 --- a/install-scripts/nvidia.sh +++ b/install-scripts/nvidia.sh @@ -54,30 +54,6 @@ add_to_file() { fi } -# Clone, build, and install Hyprland using Cmake -printf "${NOTE} Cloning Hyprland...\n" - -# Check if Hyprland folder exists and remove it -if [ -d "Hyprland" ]; then - printf "${NOTE} Removing existing Hyprland folder...\n" - rm -rf "Hyprland" 2>&1 | tee -a "$LOG" -fi - -if git clone --recursive -b v0.32.3 "https://github.com/hyprwm/Hyprland"; then - cd "Hyprland" || exit 1 - make all - if sudo make install 2>&1 | tee -a "$MLOG"; then - printf "${OK} Hyprland installed successfully.\n" 2>&1 | tee -a "$MLOG" - else - echo -e "${ERROR} Installation failed for Hyprland." 2>&1 | tee -a "$MLOG" - fi - mv $MLOG ../Install-Logs/ || true - cd .. -else - echo -e "${ERROR} Download failed for Hyprland." 2>&1 | tee -a "$LOG" -fi - - # Install additional Nvidia packages printf "${YELLOW} Installing Nvidia packages...\n" for NVIDIA in "${nvidia_pkg[@]}"; do diff --git a/install.sh b/install.sh index d04cb78..20c7b00 100755 --- a/install.sh +++ b/install.sh @@ -167,6 +167,7 @@ execute_script "hyprlang.sh" execute_script "hyprlock.sh" execute_script "hyprcursor.sh" execute_script "hypridle.sh" +execute_script "hyprland.sh" #execute_script "cliphist.sh" @@ -174,10 +175,6 @@ if [ "$nvidia" == "Y" ]; then execute_script "nvidia.sh" fi -if [ "$nvidia" == "N" ]; then - execute_script "hyprland.sh" -fi - if [ "$gtk_themes" == "Y" ]; then execute_script "gtk_themes.sh" fi