可以通过监听 手机微信的文件来实现通知
#!/bin/bash file="/data/uengine/data/data/data/com.tencent.mm/shared_prefs/" inotifywait -mq -e modify $file | while read event do if [[ "$event" == *notify_sync_pref.xml ]];then notify-send -i '/home/tensor/Documents/notify/mm.jpg' ‘主银’ ‘你有微信消息哦~~’ fi done
注意:
效果展示:
好思路,整得不错,我也整一个
Featured Collection
Popular Ranking
Popular Events
可以通过监听 手机微信的文件来实现通知
注意:
效果展示: