aboutsummaryrefslogtreecommitdiff
path: root/local/bin/allsync
blob: b4754605501dcd72afe1812f859846954e26f2ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

sec() {
	echo -e '\e[1;34m==========' "$@" '==========\e[0m'
}


run() {
	sec "Mail"
	mbsync -a
	~/.local/sbin/newmail-notify

	sec "Calendar and contacts"
	vdirsyncer sync
}




run