Pārlūkot izejas kodu
Merge pull request #186 from dmsalomon/mailsync-param
Mailsync: only pass -a to mbsync when no args
tags/v3.1
Luke Smith
pirms 5 gadiem
committed by
GitHub
vecāks
revīzija
ed6ed5854a
Šim parakstam datu bāzē netika atrasta zināma atslēga
GPG atslēgas ID: 4AEE18F83AFDEB23
1 mainītis faili ar
6 papildinājumiem un
1 dzēšanām
-
bin/mailsync
|
|
@@ -21,7 +21,12 @@ echo " 🔃" > /tmp/imapsyncicon_$USER |
|
|
|
pkill -RTMIN+12 i3blocks |
|
|
|
|
|
|
|
# Run mbsync. You can feed this script different settings. |
|
|
|
mbsync -a "$@" |
|
|
|
if [ $# -eq 0 ]; then |
|
|
|
mbsync -a |
|
|
|
else |
|
|
|
mbsync "$@" |
|
|
|
fi |
|
|
|
|
|
|
|
rm -f /tmp/imapsyncicon_$USER |
|
|
|
pkill -RTMIN+12 i3blocks |
|
|
|
|
|
|
|