📅  最后修改于: 2022-03-11 15:00:08.784000             🧑  作者: Mango
eval "export $(pgrep -u $LOGNAME gnome-session | head -n 1 | xargs -I{} cat /proc/{}/environ | egrep -z DBUS_SESSION_BUS_ADDRESS)";
/usr/bin/notify-send "Hey" "You've got a notification :-)"