summaryrefslogtreecommitdiff
path: root/.local/bin/statusbar/sb-packages
diff options
context:
space:
mode:
authorAdam Stück <adam@adast.xyz>2023-05-04 15:52:13 +0200
committerAdam Stück <adam@adast.xyz>2023-05-04 15:52:13 +0200
commitac0422a9eb7ca9faae96566ca92a7e579d9a6437 (patch)
tree455ffac76f3cfdde083473b4ff60f334a16e8b04 /.local/bin/statusbar/sb-packages
parentaa3f5d6aabf002582bf77652aa0b5177a18a3bec (diff)
Drop unused scripts
Diffstat (limited to '.local/bin/statusbar/sb-packages')
-rwxr-xr-x.local/bin/statusbar/sb-packages22
1 files changed, 0 insertions, 22 deletions
diff --git a/.local/bin/statusbar/sb-packages b/.local/bin/statusbar/sb-packages
deleted file mode 100755
index bbdefb1..0000000
--- a/.local/bin/statusbar/sb-packages
+++ /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