commit 051387342a57c7da6759e6951af51e9b84a92f68
parent a839124b7942f2b41e0451ed0190385aa69af452
Author: Jacob R. Edwards <jacob@jacobedwards.org>
Date: Tue, 28 Feb 2023 17:28:52 -0800
In notify, exit only once the notification is dismissed
This can be very useful for some applications, for example, an alarm
which produces beeps until the notification is dismissed. You can
of course not wait for notify to exit and the behavior will very
similar to what used to be.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/local/bin/bin/notify b/local/bin/bin/notify
@@ -36,4 +36,4 @@ case "$#" in
esac
# The targeted backend is currently dunst(1)
-notify-send ${sticky:+-t 0} ${image:+-i "$image"} ${level:+-u "$level"} ${value:+-h int:value:"$value"} "$s" ${m:+"$m"}
+notify-send -w ${sticky:+-t 0} ${image:+-i "$image"} ${level:+-u "$level"} ${value:+-h int:value:"$value"} "$s" ${m:+"$m"}