From aec0449ed27a630902ebd86027a6394149b9c081 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Wed, 6 May 2026 14:50:33 -0700 Subject: [PATCH] No longer push the update information to the screen, use notifications. --- rc_shared.sh | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/rc_shared.sh b/rc_shared.sh index 66cf08e..39db11e 100644 --- a/rc_shared.sh +++ b/rc_shared.sh @@ -586,9 +586,18 @@ eval "$(declare -F | grep -v _ | sed 's/-f /-fx /')" ( if [[ -d "$project" ]]; then git -C "$project" fetch >/dev/null 2>&1 && git -C "$project" status | grep "is behind" \ | while read status; do - log "\n\n`date` - env-shared has been improved." - log " '$status'" - log "\n\n`date` - Run 'update-shared' to update." + #log "\n\n`date` - env-shared has been improved." + #log " '$status'" + #log "\n\n`date` - Run 'update-shared' to update." + title="env-shared Updates Available" + message="Please run reload-shared to pull the latest changes." + if [[ -d /sdcard ]]; then + termux-notification \ + -t "$title" \ + -c "$message" + else + notify-send "$title" "$message" + fi done fi & )