use STATUSBAR variable safely

This commit is contained in:
Luke Smith committed 2019-11-24 08:10:31 -05:00
1 parent 499e222fd7
commit 3a91dc30f2
8 files changed
+10 -10

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ 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."
pkill -RTMIN+8 i3blocks
pkill -RTMIN+8 "${STATUSBAR:?}"
if pacman -Qu | grep -v "\[ignored\]"
then