edited nvidia.sh
This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
## Changelogs
|
## Changelogs
|
||||||
|
|
||||||
|
## 29 Nov 2023
|
||||||
|
- nvidia.sh edited to remove hyprland-nvidia-git as well
|
||||||
|
|
||||||
## 26 Nov 2023
|
## 26 Nov 2023
|
||||||
- nvidia - Move to hyprland-git. see [`commit`](https://github.com/hyprwm/Hyprland/commit/cd96ceecc551c25631783499bd92c6662c5d3616)
|
- nvidia - Move to hyprland-git. see [`commit`](https://github.com/hyprwm/Hyprland/commit/cd96ceecc551c25631783499bd92c6662c5d3616)
|
||||||
|
|
||||||
|
|||||||
@@ -47,16 +47,19 @@ install_package() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# nvidia stuff
|
# nvidia stuff
|
||||||
printf "${YELLOW}Installing Nvidia Hyprland...${RESET}\n"
|
printf "${YELLOW} Checking for other hyprland packages and remove if any..${RESET}\n"
|
||||||
if pacman -Qs hyprland > /dev/null; then
|
if pacman -Qs hyprland > /dev/null; then
|
||||||
printf "${YELLOW} Hyprland detected uninstalling to install Hyprland-nvidia-git...${RESET}\n"
|
printf "${YELLOW} Hyprland detected. uninstalling to install Hyprland-git...${RESET}\n"
|
||||||
for hyprnvi in hyprland hyprland-nvidia hyprland-git hyprland-nvidia-hidpi-git; do
|
for hyprnvi in hyprland hyprland-nvidia hyprland-nvidia-git hyprland-nvidia-hidpi-git; do
|
||||||
sudo pacman -R --noconfirm "$hyprnvi" 2>/dev/null | tee -a "$LOG" || true
|
sudo pacman -R --noconfirm "$hyprnvi" 2>/dev/null | tee -a "$LOG" || true
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# install hyprland-nvidia-git
|
# install hyprland-git
|
||||||
install_package "hyprland-git" 2>&1 | tee -a "$LOG"
|
printf "${YELLOW}Installing Hyprland-git...${RESET}\n"
|
||||||
|
for PKG1 in hyprland-git; do
|
||||||
|
install_package "$PKG1" 2>&1 | tee -a "$LOG"
|
||||||
|
done
|
||||||
|
|
||||||
# Install additional Nvidia packages
|
# Install additional Nvidia packages
|
||||||
printf "${YELLOW} Installing addition Nvidia packages...\n"
|
printf "${YELLOW} Installing addition Nvidia packages...\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user