updated hyprland.sh script
This commit is contained in:
@@ -43,7 +43,13 @@ install_package() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Removing outdated Hyprland from extra repo to avoid conflict
|
# Removing outdated Hyprland from extra repo to avoid conflict
|
||||||
sudo pacman -R hyprland --noconfirm "$1" 2>&1 | tee -a "$LOG"
|
printf "${YELLOW} Checking for other hyprland packages and remove if any..${RESET}\n"
|
||||||
|
if pacman -Qs hyprland > /dev/null; then
|
||||||
|
printf "${YELLOW} Hyprland detected. uninstalling to install Hyprland-git...${RESET}\n"
|
||||||
|
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
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
# Hyprland
|
# Hyprland
|
||||||
printf "${NOTE} Installing Hyprland Packages...\n"
|
printf "${NOTE} Installing Hyprland Packages...\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user