Don't show notifications on Cygwin

This commit is contained in:
Janek Bevendorff 2014-10-06 13:05:38 +02:00
parent 15356c8ce5
commit e8dd2d3ed9
1 changed files with 5 additions and 0 deletions

View File

@ -169,6 +169,11 @@ desktop_notify() {
local urgency
local user
if [[ "$(uname -o)" == "Cygwin" ]]; then
# not implemented
return
fi
command -v notify-send > /dev/null 2>&1
if [ $? -ne 0 ]; then
# notify-send not available