diff --git a/CHANGELOGS.md b/CHANGELOGS.md index 594c9b2..f2ddc64 100644 --- a/CHANGELOGS.md +++ b/CHANGELOGS.md @@ -1,5 +1,8 @@ ## Changelogs +## 16 Jan 2025 +- updated nvidia.sh to install non-git libva-nvidia-driver + ## 13 Jan 2025 - replaced polkit-gnome with hyprpolkitagent diff --git a/README.md b/README.md index a068a35..b9ef770 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,9 @@ https://github.com/JaKooLit/Hyprland-Dots/assets/85185940/50d53755-0f11-45d6-991 ### Gallery and Videos + +- latest Ksk royal's [youtube video](https://youtu.be/lR7EtbVYWuc?si=eNHVSbStKS1eNVly) installation +
📷 Screenshots @@ -107,7 +110,7 @@ https://github.com/JaKooLit/Hyprland-Dots/assets/85185940/50d53755-0f11-45d6-991 #### 💫 SDDM and GTK Themes offered - If you opted to install SDDM theme, here's the [`LINK`](https://github.com/JaKooLit/simple-sddm-2) -- If you opted to install GTK Themes, Icons, here's the [`LINK`](https://github.com/JaKooLit/GTK-themes-icons) & Bibata Cursor Modern Ice (assets directory) +- If you opted to install GTK Themes, Icons, here's the [`LINK`](https://github.com/JaKooLit/GTK-themes-icons). This also includes Bibata Modern Ice cursor. #### 👀 NVidia GPU Owners. - By default, nvidia-dkms will be installed. and only supports GTX 900 and newer. If required to install older driver, edit the nvidia.sh in install-scripts directory diff --git a/install-scripts/hyprland.sh b/install-scripts/hyprland.sh index c14dc43..31d07d8 100755 --- a/install-scripts/hyprland.sh +++ b/install-scripts/hyprland.sh @@ -3,14 +3,11 @@ # Main Hyprland Package # hypr=( - hyprcursor - hyprutils - aquamarine + hyprland hypridle hyprlock - hyprland pyprland - hyprland-qtutils + libspng ) ## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ## diff --git a/install-scripts/nvidia.sh b/install-scripts/nvidia.sh index 5bb3169..cef032f 100755 --- a/install-scripts/nvidia.sh +++ b/install-scripts/nvidia.sh @@ -10,9 +10,10 @@ nvidia_pkg=( nvidia-settings nvidia-utils libva - libva-nvidia-driver-git + libva-nvidia-driver ) + ## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ## # Determine the directory where the script is located SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" @@ -37,7 +38,7 @@ if pacman -Qs hyprland > /dev/null; then fi # Install additional Nvidia packages -printf "${YELLOW} Installing addition Nvidia packages...\n" +printf "${YELLOW} Installing Nvidia Packages and Linux headers...\n" for krnl in $(cat /usr/lib/modules/*/pkgbase); do for NVIDIA in "${krnl}-headers" "${nvidia_pkg[@]}"; do install_package "$NVIDIA" 2>&1 | tee -a "$LOG" @@ -53,12 +54,13 @@ else fi sudo mkinitcpio -P 2>&1 | tee -a "$LOG" -printf "\n\n\n" + +printf "\n%.0s" {1..3} # Additional Nvidia steps NVEA="/etc/modprobe.d/nvidia.conf" if [ -f "$NVEA" ]; then - printf "${OK} Seems like nvidia-drm modeset=1 is already added in your system..moving on.\n" + printf "${OK} Seems like nvidia-drm modeset=1 is already added in your system..moving on." printf "\n" else printf "\n" @@ -72,19 +74,17 @@ fi if [ -f /etc/default/grub ]; then # Check if nvidia-drm.modeset=1 is present if ! sudo grep -q "nvidia-drm.modeset=1" /etc/default/grub; then - # Add nvidia-drm.modeset=1 to GRUB_CMDLINE_LINUX_DEFAULT sudo sed -i -e 's/\(GRUB_CMDLINE_LINUX_DEFAULT=".*\)"/\1 nvidia-drm.modeset=1"/' /etc/default/grub echo "nvidia-drm.modeset=1 added to /etc/default/grub" 2>&1 | tee -a "$LOG" fi # Check if nvidia_drm.fbdev=1 is present if ! sudo grep -q "nvidia_drm.fbdev=1" /etc/default/grub; then - # Add nvidia_drm.fbdev=1 to GRUB_CMDLINE_LINUX_DEFAULT sudo sed -i -e 's/\(GRUB_CMDLINE_LINUX_DEFAULT=".*\)"/\1 nvidia_drm.fbdev=1"/' /etc/default/grub echo "nvidia_drm.fbdev=1 added to /etc/default/grub" 2>&1 | tee -a "$LOG" fi - # Regenerate GRUB configuration if any changes were made + # Regenerate GRUB configuration if sudo grep -q "nvidia-drm.modeset=1" /etc/default/grub || sudo grep -q "nvidia_drm.fbdev=1" /etc/default/grub; then sudo grub-mkconfig -o /boot/grub/grub.cfg fi @@ -103,7 +103,6 @@ if [[ $blacklist_nouveau =~ ^[Yy]$ ]]; then if [ -f "$NOUVEAU" ]; then printf "${OK} Seems like nouveau is already blacklisted..moving on.\n" else - printf "\n" echo "blacklist nouveau" | sudo tee -a "$NOUVEAU" 2>&1 | tee -a "$LOG" printf "${NOTE} has been added to $NOUVEAU.\n" printf "\n" @@ -116,7 +115,7 @@ if [[ $blacklist_nouveau =~ ^[Yy]$ ]]; then fi fi else - printf "${NOTE} Skipping nouveau blacklisting.\n" 2>&1 | tee -a "$LOG" + printf "${NOTE} Skipping nouveau blacklisting..." 2>&1 | tee -a "$LOG" fi clear diff --git a/install-scripts/xdph.sh b/install-scripts/xdph.sh index eb1abbb..226c774 100755 --- a/install-scripts/xdph.sh +++ b/install-scripts/xdph.sh @@ -8,6 +8,7 @@ fi xdg=( xdg-desktop-portal-hyprland xdg-desktop-portal-gtk + umockdev ) ## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##