commit 91128ee68a5c46aa2be64e2a93fc86f8c8388be0
parent 9e4f9225b45a72d34499dcbc5c335a1f30b41698
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date: Thu, 16 Sep 2021 16:54:22 +0200
Execute Action properly
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/im-notifier b/im-notifier
@@ -54,7 +54,7 @@ function im_signal_listen {
"type='signal',sender='org.freedesktop.Notifications',interface='org.freedesktop.Notifications'" | \
head -7 | grep -E "im-notify-*")
if [[ "$INVOKEDACTION" == " string \"im-notify-tg\"" ]]; then
- exec "${TG_ACTION}"
+ $SHELL -c "${TG_ACTION}"
fi
sleep 5 # actions probably do not happen more often than that
done