Remove specfic env loading, envrun now takes care

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2019-08-03 16:19:29 +02:00
parent fd62fb861e
commit ea597f4a43
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -4,8 +4,6 @@ set -euo pipefail
# In case we got a click, open the notifications page
[ -n "${BLOCK_BUTTON:-}" ] && xdg-open "https://github.com/notifications" >/dev/null 2>&1
[ -f ${HOME}/.config/i3blocks/.env ] && source ${HOME}/.config/i3blocks/.env
# Get token from vault
gh_token=$(vault read -field=token secret/private/github/notifications)
[ -z "${gh_token}" ] && exit 1