summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-04-26 10:42:35 -0400
committerLuke Smith <luke@lukesmith.xyz>2019-04-26 10:42:35 -0400
commit42223132cc3e72b69f8bdde4d3f48a61a5358c15 (patch)
treecddbb71cce9d8dde41496b7a3425c4fa3cfe82b0 /bin
parentc4a2d1c9b7a56d79fe3defbaaf1d543d95e103c8 (diff)
libnotify note in mailsync
Diffstat (limited to 'bin')
-rwxr-xr-xbin/mailsync1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/mailsync b/bin/mailsync
index ea645c3..beb64af 100755
--- a/bin/mailsync
+++ b/bin/mailsync
@@ -4,6 +4,7 @@
# Checks for internet connection and set notification script.
ping -q -c 1 1.1.1.1 > /dev/null || exit
pgrep -x mbsync >/dev/null && echo "mbsync already running." && exit
+command -v notify-send >/dev/null || echo "Note that \`libnotify\` or \`libnotify-send\` should be installed for pop-up mail notifications with this script."
export DISPLAY=:0.0