diff options
author | awy <awy@awy.one> | 2025-07-30 20:01:22 +0300 |
---|---|---|
committer | awy <awy@awy.one> | 2025-07-30 20:01:22 +0300 |
commit | eaac01e7d3dc26bccb67d39a07aea34343a97c3f (patch) | |
tree | 6a2752cdee8e4d5e053d799eb167c9e13e7783d8 /.local/bin/cron/checkup | |
parent | f6c1a1929d4486675c7f586c4aff11421e79b6bc (diff) | |
download | hyprdots-eaac01e7d3dc26bccb67d39a07aea34343a97c3f.tar.gz |
update
Diffstat (limited to '.local/bin/cron/checkup')
-rwxr-xr-x | .local/bin/cron/checkup | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.local/bin/cron/checkup b/.local/bin/cron/checkup index fbe8e0f..a571a35 100755 --- a/.local/bin/cron/checkup +++ b/.local/bin/cron/checkup @@ -2,16 +2,16 @@ # Syncs repositories and downloads updates, meant to be run as a cronjob. -notify-send "📦 Repository Sync" "Checking for package updates..." +notify-send " Repository Sync" "Checking for package updates..." doas 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:-waybar}" +pkill -RTMIN+8 "${STATUSBAR:-i3blocks}" if pacman -Qu | rg -v "\[ignored\]" then - notify-send "🎁 Repository Sync" "Updates available. Click statusbar icon (📦) for update." + notify-send " Repository Sync" "Updates available. Click statusbar icon () for update." else - notify-send "📦 Repository Sync" "Sync complete. No new packages for update." + notify-send " Repository Sync" "Sync complete. No new packages for update." fi |