Update some commands and change terminal to st

This commit is contained in:
2021-05-29 19:03:23 +01:00
parent bc8d62e90b
commit b17345ecdf
12 changed files with 88 additions and 48 deletions

8
.local/bin/cron/checkup Normal file → Executable file
View File

@@ -2,9 +2,7 @@
# Syncs repositories and downloads updates, meant to be run as a cronjob.
ping -q -c 1 example.org > /dev/null || exit
notify-send "📦 Repository Sync" "Checking for package updates..."
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."
@@ -12,7 +10,7 @@ pkill -RTMIN+8 "${STATUSBAR:-dwmblocks}"
if pacman -Qu | grep -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