add auto expiry

This commit is contained in:
2026-03-07 20:24:08 -07:00
parent 6570961f69
commit 6556a2c07e

View File

@@ -41,9 +41,9 @@ send_notification () {
current_volume=$(get_current_volume)
active_notification=$(check_if_active_notification)
if [ -z "$active_notification" ]; then
notify-send "Volume: ${current_volume}"
notify-send -t 2000 "Volume: ${current_volume}"
else
notify-send -r ${active_notification} "Volume: ${current_volume}"
notify-send -r ${active_notification} -t 2000 "Volume: ${current_volume}"
fi
}