diff --git a/.config/i3blocks/github b/.config/i3blocks/github index 372bc99..00e4fc6 100755 --- a/.config/i3blocks/github +++ b/.config/i3blocks/github @@ -1,6 +1,8 @@ #!/bin/bash set -euo pipefail +[ -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