summaryrefslogtreecommitdiff
path: root/.local/bin/cron/checkup
diff options
context:
space:
mode:
authormarlonivo <email@marlonivo.xyz>2025-04-14 10:21:23 +0000
committermarlonivo <email@marlonivo.xyz>2025-04-14 10:21:23 +0000
commit4e3440c77a5e3a9f09d1719e2e8782500e3a5415 (patch)
tree25c2b34cc9a73043adb888d33745f473e5ed41d5 /.local/bin/cron/checkup
parent0d1a84f59d8cdd62c97410f96f8a13c98c51453a (diff)
removalHEADmaster
Diffstat (limited to '.local/bin/cron/checkup')
-rw-r--r--.local/bin/cron/checkup17
1 files changed, 0 insertions, 17 deletions
diff --git a/.local/bin/cron/checkup b/.local/bin/cron/checkup
deleted file mode 100644
index bd3c634..0000000
--- a/.local/bin/cron/checkup
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-
-# Syncs repositories and downloads updates, meant to be run as a cronjob.
-
-notify-send "📦 Repository Sync" "Checking for package updates..."
-
-sudo pacman -Syyuw --noconfirm || notify-send "Error downloading updates.
-
-Check your internet connection, if pacman is already running, or run update manually to see errors."
-pkill -RTMIN+8 "${STATUSBAR:-dwmblocks}"
-
-if pacman -Qu | grep -v "\[ignored\]"
-then
- notify-send "🎁 Repository Sync" "Updates available. Click statusbar icon (📦) for update."
-else
- notify-send "📦 Repository Sync" "Sync complete. No new packages for update."
-fi