commit 54fecbce5d637adfc2931616cee494545a77f76d
parent e5cfce111face6e542d7de90425dc8e958da36fe
Author: Alex Balgavy <alex@balgavy.eu>
Date: Fri, 7 May 2021 12:40:07 +0200
newsrefreshd: don't kill me in rotmg
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/scripts/newsrefreshd b/scripts/newsrefreshd
@@ -9,7 +9,9 @@ notidie() {
os=$(uname -s | tr '[:upper:]' '[:lower:]')
case "$os" in
darwin*)
+ while pgrep RotMG; do sleep 60; done
/usr/local/bin/alacritty -e /Users/alex/.local/share/cargo/bin/rbw unlock
+ /Users/alex/.local/share/cargo/bin/rbw unlocked || notidie "Newsboat: error reloading" "Vault is locked"
;;
esac