move sync to synchron
This commit is contained in:
parent
a1f763ab67
commit
bf7565e916
|
@ -0,0 +1,21 @@
|
|||
IMAPStore main-remote
|
||||
Host mail.beepboop.systems
|
||||
Port 993
|
||||
User ryan@beepboop.systems
|
||||
PassCmd "rbw get mail.beepboop.systems"
|
||||
SSLType IMAPS
|
||||
# termux is weird
|
||||
CertificateFile /data/data/com.termux/files/usr/etc/tls
|
||||
|
||||
MaildirStore main-local
|
||||
Path ~/Mail/main/
|
||||
Inbox ~/Mail/main/INBOX
|
||||
Subfolders Verbatim
|
||||
|
||||
Channel main
|
||||
Far :main-remote:
|
||||
Near :main-local:
|
||||
Create Both
|
||||
Expunge Both
|
||||
Patterns *
|
||||
SyncState *
|
|
@ -1,5 +1,10 @@
|
|||
if [ "$(hostname)" = "localhost" ]; then
|
||||
mbsync --config=$HOME/.config/isync/phone-config
|
||||
else
|
||||
is_school && echo "enable the vpn"
|
||||
mbsync --config=$HOME/.config/isync/config main
|
||||
fi
|
||||
|
||||
vdirsyncer sync
|
||||
rbw sync
|
||||
|
Loading…
Reference in New Issue