-- Leo's gemini proxy
-- Connecting to git.thebackupbox.net:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini
repo: fmrl-client action: commit revision: path_from: revision_from: ab9e2b753348bd06bbb4d145dbda6248a38b826d: path_to: revision_to:
commit ab9e2b753348bd06bbb4d145dbda6248a38b826d Author: epoch <epoch@enzo.thebackupbox.net> Date: Mon Jan 24 21:06:30 2022 +0000 same as last, but for notify-send version. diff --git a/fmrl-status-notify-send b/fmrl-status-notify-send
--- a/fmrl-status-notify-send +++ b/fmrl-status-notify-send @@ -5,11 +5,12 @@ if [ "$1" = "--force" -o "$1" = "-f" ];then shift fi -. "$(which fmrl-get-status)" - -if [ "$code" != 200 -a ! "$force" ];then - echo "code: $code" - exit 1 -fi - -notify-send -i "${avatar_cache}" "fmrl status for: \"$u_name\" <@${user}@${host}>" "$u_emoji $u_status"$'\n'"$u_media_verb $u_media" +while [ "$1" ];do + . "$(which fmrl-get-status)" + if [ "$code" != 200 -a ! "$force" ];then + echo "code: $code user: $1" >&2 + shift + continue + fi + notify-send -i "${avatar_cache}" "fmrl status for: \"$u_name\" <@${user}@${host}>" "$u_emoji $u_status"$'\n'"$u_media_verb $u_media" +done
-----END OF PAGE-----
-- Response ended
-- Page fetched on Sun Jun 2 17:30:00 2024