Created
July 18, 2021 20:35
-
-
Save arthurstomp/d96ae89a6345f0705326e0283f381ce5 to your computer and use it in GitHub Desktop.
Get dbus messages from 'notify-send'
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 '^\s*$' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment