Luke Smith
преди 5 години
родител
ревизия
42223132cc
No known key found for this signature in database
GPG ключ ID: 4C50B54A911F6252
променени са
1 файла, в които са
добавени 1 реда и са
изтрити 0 реда
-
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 |
|
|
|
|
|
|
|