summaryrefslogtreecommitdiff
path: root/.local/bin/updates
diff options
context:
space:
mode:
authoradam <56338480+adastx@users.noreply.github.com>2022-10-30 19:39:55 +0100
committeradam <56338480+adastx@users.noreply.github.com>2022-10-30 19:39:55 +0100
commit13aa86e8d1080c24afdeac51fbb8235990c8a001 (patch)
treef401944da6d0db2b5c01af284945bee0c8ec3988 /.local/bin/updates
parent82e2195e2e191b9885b32a888f013a945e066ab1 (diff)
polybar: major cleanup, wttr.in forecast
Diffstat (limited to '.local/bin/updates')
-rwxr-xr-x.local/bin/updates22
1 files changed, 0 insertions, 22 deletions
diff --git a/.local/bin/updates b/.local/bin/updates
deleted file mode 100755
index 7af054a..0000000
--- a/.local/bin/updates
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/sh
-
-if ! updates_arch=$(checkupdates 2> /dev/null | wc -l ); then
- updates_arch=0
-fi
-
-# if ! updates_aur=$(yay -Qum 2> /dev/null | wc -l); then
-if ! updates_aur=$(paru -Qum 2> /dev/null | wc -l); then
-# if ! updates_aur=$(cower -u 2> /dev/null | wc -l); then
-# if ! updates_aur=$(trizen -Su --aur --quiet | wc -l); then
-# if ! updates_aur=$(pikaur -Qua 2> /dev/null | wc -l); then
-# if ! updates_aur=$(rua upgrade --printonly 2> /dev/null | wc -l); then
- updates_aur=0
-fi
-
-aur_ignored=$($HOME/.local/bin/aurignored | wc -l)
-
-updates=$((updates_arch + updates_aur - $aur_ignored))
-
-if [ "$updates" -gt 0 ]; then
- echo " $updates"
-fi