move notify to function
Merge pull request #2 from t0pep0/master

Move notify-send to function