From 55e0e2ef6f4a5170b07572801322a50c8aae398e Mon Sep 17 00:00:00 2001 From: alvinlollo <143326475+alvinlollo@users.noreply.github.com> Date: Thu, 29 Jan 2026 09:34:27 +1100 Subject: [PATCH] Add hyprland package manager update --- configs/.zshrc | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/configs/.zshrc b/configs/.zshrc index c4b6b23..2d59d95 100644 --- a/configs/.zshrc +++ b/configs/.zshrc @@ -92,23 +92,27 @@ fi update () { - # Update on arch based systems with yay AUR helper + # Update arch based systems with yay AUR helper if command -v pacman >/dev/null && command -v yay >/dev/null; then - # Commands to run if the binaries IS FOUND echo "✅ 'pacman' and 'yay' found. Updating." sudo pacman -Syu && yay -Syu fi # Update on debian based systems if command -v apt >/dev/null; then - # Commands to run if the binary IS FOUND echo "✅ 'apt' found. Updating." sudo apt update && sudo apt full-upgrade -y fi + # Update Hyprland + if command -v hyprpm >/dev/null; then + echo "✅ 'hyprpm' found. Updating." + hyprpm reload && sleep 2 + hyprpm update + fi + # Update Flatpak if command -v flatpak >/dev/null; then - # Commands to run if the binary IS FOUND echo "✅ 'flatpak' found. Updating." flatpak update fi