Remove specfic env loading, envrun now takes care
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
fd62fb861e
commit
ea597f4a43
1 changed files with 0 additions and 2 deletions
|
@ -4,8 +4,6 @@ set -euo pipefail
|
||||||
# In case we got a click, open the notifications page
|
# In case we got a click, open the notifications page
|
||||||
[ -n "${BLOCK_BUTTON:-}" ] && xdg-open "https://github.com/notifications" >/dev/null 2>&1
|
[ -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
|
# Get token from vault
|
||||||
gh_token=$(vault read -field=token secret/private/github/notifications)
|
gh_token=$(vault read -field=token secret/private/github/notifications)
|
||||||
[ -z "${gh_token}" ] && exit 1
|
[ -z "${gh_token}" ] && exit 1
|
||||||
|
|
Loading…
Reference in a new issue