From 3ff7bd1e8efaceee057a2b754e62962094422bc8 Mon Sep 17 00:00:00 2001 From: awy Date: Thu, 2 Oct 2025 19:58:28 +0300 Subject: update --- .local/bin/cron/checkup | 8 ++++---- .local/bin/cron/newsup | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to '.local/bin/cron') diff --git a/.local/bin/cron/checkup b/.local/bin/cron/checkup index a571a35..fbe8e0f 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:-i3blocks}" +pkill -RTMIN+8 "${STATUSBAR:-waybar}" 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 diff --git a/.local/bin/cron/newsup b/.local/bin/cron/newsup index 2fb090c..a53c2e2 100755 --- a/.local/bin/cron/newsup +++ b/.local/bin/cron/newsup @@ -8,7 +8,7 @@ export WAYLAND_DISPLAY=wayland-1 /usr/bin/notify-send "󰎕 Updating RSS feeds..." -pgrep -f newsraft$ && hyprctl --instance 0 dispatch sendshortcut ,R ,title:newsraft && exit +pgrep -f newsraft$ && hyprctl --instance 0 dispatch sendshortcut ,R ,title:newsraft echo 🔃 > /tmp/newsupdate pkill -RTMIN+6 "${STATUSBAR:-waybar}" -- cgit v1.2.3