base/arch: fix updates sound for polybar

This commit is contained in:
Henrik Lissner 2017-12-06 14:14:44 -05:00
parent f69a3bbee2
commit 003a6fd172
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -14,7 +14,7 @@ if [[ "$check" != "0" ]]; then
echo "%{F#b5bd68}${icon}$pac+$aur%{F-}"
if [[ $last != "$pac$aur" ]]; then
notify-send "$((pac+aur)) updates available"
aplay -N -q $DOTFILES_ASSETS/sounds/updates.ogg
paplay $DOTFILES_ASSETS/sounds/updates.ogg &
echo "$pac$aur" >/tmp/polybar-updates
fi
else