From 7a70f63f3e5ae5c55494a4bdbb395cfb81201c1e Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Fri, 17 Jan 2025 00:21:08 +0900 Subject: [PATCH 1/5] updated nvidia.sh to install non-git libva-nvidia-driver --- CHANGELOGS.md | 3 +++ install-scripts/nvidia.sh | 17 ++++++++--------- 2 files changed, 11 insertions(+), 9 deletions(-) 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/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 From 2fc7acf538fa9b0026275b350cda2912209e4048 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sat, 18 Jan 2025 10:58:37 +0900 Subject: [PATCH 2/5] updated readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a068a35..e3a5b86 100644 --- a/README.md +++ b/README.md @@ -107,7 +107,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 From 6ab203a6d4d1f50195c21d5a5833c9c10a3b6048 Mon Sep 17 00:00:00 2001 From: "Ja.KooLit" <85185940+JaKooLit@users.noreply.github.com> Date: Thu, 23 Jan 2025 07:06:27 +0800 Subject: [PATCH 3/5] Update README.md - added latest installation video by ksk royal --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index e3a5b86..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 From bd03f3eeeb20098ed01b46e1af811e20251ba687 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 27 Jan 2025 17:59:51 +0900 Subject: [PATCH 4/5] updated xdph added umockdev --- install-scripts/xdph.sh | 1 + 1 file changed, 1 insertion(+) 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! ## From b3a005578506be3ea153afa48af3069fd940f3da Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 27 Jan 2025 23:37:21 +0900 Subject: [PATCH 5/5] added libspng - required in hyprgraphics --- install-scripts/hyprland.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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! ##