diff options
Diffstat (limited to '.local/bin/cron')
-rwxr-xr-x | .local/bin/cron/checkup | 2 | ||||
-rwxr-xr-x | .local/bin/cron/newsup | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/.local/bin/cron/checkup b/.local/bin/cron/checkup index 387c04e..d40e556 100755 --- a/.local/bin/cron/checkup +++ b/.local/bin/cron/checkup @@ -8,7 +8,7 @@ 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 | grep -v "\[ignored\]" then diff --git a/.local/bin/cron/newsup b/.local/bin/cron/newsup index dd85c9f..af2dbb8 100755 --- a/.local/bin/cron/newsup +++ b/.local/bin/cron/newsup @@ -9,8 +9,8 @@ export DISPLAY=':0' pgrep -f newsboat$ && /usr/bin/xdotool key --window "$(/usr/bin/xdotool search --name "^newsboat$")" R && exit echo  > /tmp/newsupdate -pkill -RTMIN+6 "${STATUSBAR:-i3blocks}" +pkill -RTMIN+6 "${STATUSBAR:-waybar}" /usr/bin/newsboat -x reload rm -f /tmp/newsupdate -pkill -RTMIN+6 "${STATUSBAR:-i3blocks}" +pkill -RTMIN+6 "${STATUSBAR:-waybar}" /usr/bin/notify-send "📰 RSS feed update complete." |