From 3592f266671db42a382b406d044146782905cde7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sat, 12 Dec 2020 11:43:29 +0100 Subject: allsync: improve astroid invocation --- local/bin/allsync | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'local/bin/allsync') diff --git a/local/bin/allsync b/local/bin/allsync index 11c0ddb..4d8747b 100755 --- a/local/bin/allsync +++ b/local/bin/allsync @@ -10,7 +10,7 @@ i3_astroid() { pkill -0 astroid || return 0 find "/run/user/$(id -u)/i3" "/tmp/i3-$(id -un)".* -name ipc-socket\* 2>/dev/null | \ while read -r socket; do - i3-msg -s "$socket" "exec" "astroid" "$@" + i3-msg -s "$socket" "exec astroid $*" done } @@ -97,7 +97,7 @@ sec "Mail" i3_astroid --start-polling mbsync -a || fail "Mail synchronization reported failure" notmuch new -~/.local/sbin/newmail-notify +~/.local/sbin/newmail-notify || fail "Mail notifications not sent" notmuch tag --batch --input="$HOME/.notmuch-tag-new" i3_astroid --stop-polling pkill -RTMIN+13 i3blocks -- cgit v1.2.3