Don't show notifications on Cygwin
This commit is contained in:
parent
15356c8ce5
commit
e8dd2d3ed9
|
@ -169,6 +169,11 @@ desktop_notify() {
|
||||||
local urgency
|
local urgency
|
||||||
local user
|
local user
|
||||||
|
|
||||||
|
if [[ "$(uname -o)" == "Cygwin" ]]; then
|
||||||
|
# not implemented
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
|
||||||
command -v notify-send > /dev/null 2>&1
|
command -v notify-send > /dev/null 2>&1
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
# notify-send not available
|
# notify-send not available
|
||||||
|
|
Loading…
Reference in New Issue