diff --git a/.local/bin/notify-log b/.local/bin/notify-log index 646022d..94fa64c 100755 --- a/.local/bin/notify-log +++ b/.local/bin/notify-log @@ -6,6 +6,6 @@ dbus-monitor "interface='org.freedesktop.Notifications'" |\ grep --line-buffered "string" |\ grep --line-buffered -e method -e ":" -e '""' -e urgency -e notify -v |\ grep --line-buffered '.*(?=string)|(?<=string).*' -oPi |\ +grep --line-buffered -v "sender-pid" |\ grep --line-buffered -v '^\s*$' |\ -xargs -I '{}' \ -printf "---$( date )---\n"{}"\n" >> $logfile +xargs -I '{}' echo {} >> "$logfile"