summaryrefslogtreecommitdiff
path: root/ar/.local/bin/dmenuupgrade
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-03-24 11:34:32 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-03-24 11:34:32 +0900
commit01e4a66a09486307728d016576bee88df7b698c1 (patch)
treeb8237c0460b29a459bf9aa3afe8525b2677d5601 /ar/.local/bin/dmenuupgrade
parent7ad735138ce0160e68c3cb0e8be013e778400cf8 (diff)
updates
Diffstat (limited to 'ar/.local/bin/dmenuupgrade')
-rwxr-xr-xar/.local/bin/dmenuupgrade10
1 files changed, 5 insertions, 5 deletions
diff --git a/ar/.local/bin/dmenuupgrade b/ar/.local/bin/dmenuupgrade
index b23e80a..4185eb0 100755
--- a/ar/.local/bin/dmenuupgrade
+++ b/ar/.local/bin/dmenuupgrade
@@ -16,7 +16,7 @@ case "$selection" in
if [ "$(printf "No\nYes" | dmenu -i -p 'Proceed with upgrade for all packages?')" = "Yes" ]; then
notify-send "📦 Upgrading all packages..."
yay -Syu --noconfirm
- pkill -RTMIN+14 "${STATUSBAR:-dwmblocks}"
+ pkill -RTMIN+11 "${STATUSBAR:-dwmblocks}"
notify-send "✅ Upgrade of all packages completed."
else
notify-send "❌ Upgrade cancelled."
@@ -31,7 +31,7 @@ case "$selection" in
if [ "$(printf "No\nYes" | dmenu -i -p 'Proceed with pacman upgrade?')" = "Yes" ]; then
notify-send "📦 Upgrading pacman packages..."
printf "%s" "$pacman_updates" | awk '{print $1}' | xargs sudo pacman -S --noconfirm
- pkill -RTMIN+14 "${STATUSBAR:-dwmblocks}"
+ pkill -RTMIN+11 "${STATUSBAR:-dwmblocks}"
notify-send "✅ Pacman packages upgrade completed."
else
notify-send "❌ Upgrade cancelled."
@@ -46,7 +46,7 @@ case "$selection" in
if [ "$(printf "No\nYes" | dmenu -i -p 'Proceed with upgrade for this package?')" = "Yes" ]; then
notify-send "📦 Upgrading package: $selection..."
sudo pacman -S --noconfirm "$(printf "%s" "$selection" | awk '{print $1}')"
- pkill -RTMIN+14 "${STATUSBAR:-dwmblocks}"
+ pkill -RTMIN+11 "${STATUSBAR:-dwmblocks}"
notify-send "✅ Upgrade completed for package: $selection."
else
notify-send "❌ Upgrade cancelled."
@@ -73,7 +73,7 @@ case "$selection" in
if [ "$(printf "No\nYes" | dmenu -i -p 'Proceed with AUR upgrade?')" = "Yes" ]; then
notify-send "📦 Upgrading AUR packages..."
yay -Syu --aur --noconfirm
- pkill -RTMIN+14 "${STATUSBAR:-dwmblocks}"
+ pkill -RTMIN+11 "${STATUSBAR:-dwmblocks}"
notify-send "✅ AUR packages upgrade completed."
else
notify-send "❌ Upgrade cancelled."
@@ -88,7 +88,7 @@ case "$selection" in
if [ "$(printf "No\nYes" | dmenu -i -p 'Proceed with upgrade for this package?')" = "Yes" ]; then
notify-send "📦 Upgrading AUR package: $selection..."
yay -S --noconfirm "$(printf "%s" "$selection" | awk '{print $2}')"
- pkill -RTMIN+14 "${STATUSBAR:-dwmblocks}"
+ pkill -RTMIN+11 "${STATUSBAR:-dwmblocks}"
notify-send "✅ Upgrade completed for AUR package: $selection."
else
notify-send "❌ Upgrade cancelled."