mirror of
https://github.com/JaKooLit/Debian-Hyprland.git
synced 2025-12-21 18:20:13 +01:00
updated install.sh and nvidia.sh
This commit is contained in:
parent
12e120db96
commit
94e935cbe6
@ -38,7 +38,7 @@ sudo nano /etc/apt/sources.list
|
|||||||
> For Ubuntu 24.04 LTS, no need to edit the /etc/apt/sources.list
|
> For Ubuntu 24.04 LTS, no need to edit the /etc/apt/sources.list
|
||||||
|
|
||||||
> [!IMPORTANT]
|
> [!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]
|
> [!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........
|
> 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........
|
||||||
|
|||||||
@ -54,30 +54,6 @@ add_to_file() {
|
|||||||
fi
|
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
|
# Install additional Nvidia packages
|
||||||
printf "${YELLOW} Installing Nvidia packages...\n"
|
printf "${YELLOW} Installing Nvidia packages...\n"
|
||||||
for NVIDIA in "${nvidia_pkg[@]}"; do
|
for NVIDIA in "${nvidia_pkg[@]}"; do
|
||||||
|
|||||||
@ -167,6 +167,7 @@ execute_script "hyprlang.sh"
|
|||||||
execute_script "hyprlock.sh"
|
execute_script "hyprlock.sh"
|
||||||
execute_script "hyprcursor.sh"
|
execute_script "hyprcursor.sh"
|
||||||
execute_script "hypridle.sh"
|
execute_script "hypridle.sh"
|
||||||
|
execute_script "hyprland.sh"
|
||||||
|
|
||||||
#execute_script "cliphist.sh"
|
#execute_script "cliphist.sh"
|
||||||
|
|
||||||
@ -174,10 +175,6 @@ if [ "$nvidia" == "Y" ]; then
|
|||||||
execute_script "nvidia.sh"
|
execute_script "nvidia.sh"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$nvidia" == "N" ]; then
|
|
||||||
execute_script "hyprland.sh"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$gtk_themes" == "Y" ]; then
|
if [ "$gtk_themes" == "Y" ]; then
|
||||||
execute_script "gtk_themes.sh"
|
execute_script "gtk_themes.sh"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user