Skip to content

Commit

Permalink
put timeout for noify-send
Browse files Browse the repository at this point in the history
  • Loading branch information
cyclingzealot committed Dec 24, 2017
1 parent 0a5585a commit 10cee39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.bash
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ if [ "$sendAlert" -eq "1" ] ; then
echo "Too early to send another notice"
fi
elif [[ "$recipient" == 'onscreen' ]]; then
notify-send "`cat $scratchFile | grep -v '===' | grep -v 'Running on' `"
notify-send -t 60000 "`cat $scratchFile | grep -v '===' | grep -v 'Running on' `"
else
echo "Unrecognized recipient"
exit 1
Expand Down

0 comments on commit 10cee39

Please sign in to comment.