summaryrefslogtreecommitdiff
path: root/.config/polybar/extra
diff options
context:
space:
mode:
authoradam <56338480+adastx@users.noreply.github.com>2022-10-10 00:00:05 +0200
committeradam <56338480+adastx@users.noreply.github.com>2022-10-10 00:00:05 +0200
commit1b425c346d784c0a130b1c383e1d3d44ec913f6c (patch)
tree854d5700b9d9ace34760c6b9cfb54f648f986923 /.config/polybar/extra
parenta514903307a35963ede428b565ea499861839ef1 (diff)
polybar: moved update script
Diffstat (limited to '.config/polybar/extra')
-rwxr-xr-x.config/polybar/extra/updates-pacman-aurhelper.sh24
1 files changed, 0 insertions, 24 deletions
diff --git a/.config/polybar/extra/updates-pacman-aurhelper.sh b/.config/polybar/extra/updates-pacman-aurhelper.sh
deleted file mode 100755
index c74ff0d..0000000
--- a/.config/polybar/extra/updates-pacman-aurhelper.sh
+++ /dev/null
@@ -1,24 +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"
-else
- echo ""
-fi