From 197682d0f5b9d79033b9198df57225de24fff69b Mon Sep 17 00:00:00 2001 From: Yaroslav Date: Fri, 10 Apr 2020 11:31:51 +0300 Subject: fix mailsync script and related bar script --- dotfiles/.local/bin/mailsync | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dotfiles/.local/bin/mailsync') diff --git a/dotfiles/.local/bin/mailsync b/dotfiles/.local/bin/mailsync index 9da6270..2a5ed03 100755 --- a/dotfiles/.local/bin/mailsync +++ b/dotfiles/.local/bin/mailsync @@ -6,7 +6,7 @@ w | grep "^$USER\W" >/dev/null || exit # Check several times before giving up, useful when just waking up from sleep # since internet is usually not available right away -wget -q --tries=5 --timeout=20 --spider 1.1.1.1 > /dev/null || exit +wget -q --tries=3 --timeout=20 --spider 1.1.1.1 > /dev/null || exit # Source the needed env variables so that it can function properly from cron . ~/.cache/sessionenv @@ -33,7 +33,7 @@ done if [ $thereis = 1 ]; then mpv "$HOME/.local/share/soundalerts/mail.mp3" > /dev/null - killall -42 waybar + killall -43 waybar fi notmuch new 2>/dev/null -- cgit v1.2.3