blob: 12841340c5340f658a4929fdfff892b6538a4963 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/sh
ping -q -c 1 1.1.1.1 > /dev/null || exit
notify-send "⬆ Update check" "Checking for updates..."
sudo pacman -Sy
upno=$(pacman -Qu | wc -l)
notify-send "⬆ Update Check" "$upno updates are available"
|