diff --git a/bin/notifylog b/bin/notifylog index b839bfc..26a96a1 100755 --- a/bin/notifylog +++ b/bin/notifylog @@ -1,3 +1,3 @@ # Called by dunst to blat a notification into a log in tmpfs, for perusal by my hud script # There's a security concern here, logging notifications like this. Only do this on a system you have control over -(echo -e "`date '+%m-%dT%H:%M'`\0 $DUNST_APP_NAME\0 $DUNST_SUMMARY\0 $DUNST_BODY" | tr '\n' ' ' ; echo '') >> $XDG_RUNTIME_DIR/notifylog +(echo -e "`date --iso-8601=seconds`\0 $DUNST_APP_NAME\0 $DUNST_SUMMARY\0 $DUNST_BODY" | tr '\n' ' ' ; echo '') >> $XDG_RUNTIME_DIR/notifylog