From 6cabb66f00d963a590e1ac2110e1de5217f380d7 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sun, 21 Apr 2024 01:43:51 +0900 Subject: [PATCH] updated Script --- CHANGELOGS.md | 5 +++++ install-scripts/nvidia.sh | 11 ++++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/CHANGELOGS.md b/CHANGELOGS.md index bf6162b..0e7bb76 100644 --- a/CHANGELOGS.md +++ b/CHANGELOGS.md @@ -1,5 +1,10 @@ ## Changelogs +<<<<<<< main +## 20 Apr 2024 +- Change default Oh-my-zsh theme to xiong-chiamiov-plus +- updated nvidia.sh (added hyprcursor and changed to hyprland only from git for nvidia) + ## 11 Jan 2024 - dropped wlsunset diff --git a/install-scripts/nvidia.sh b/install-scripts/nvidia.sh index 7fe4f83..4ab8e3e 100755 --- a/install-scripts/nvidia.sh +++ b/install-scripts/nvidia.sh @@ -9,6 +9,13 @@ nvidia_pkg=( libva-nvidia-driver ) +hyprland_pkg=( + hyprland + hyprcursor +) + + + ## 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 )" @@ -29,9 +36,11 @@ fi LOG="Install-Logs/install-$(date +%d-%H%M%S)_nvidia.log" -# Install Hprland Nvidia git +# Install Hprland Nvidia printf "${YELLOW} Installing Hyprland-git...\n" for NvHYPR in hyprland-git; do +printf "${YELLOW} Installing Hyprland...\n" + for NvHYPR in "${hyprland_pkg[@]}"; do install_package "$NvHYPR" 2>&1 | tee -a "$LOG" done