aboutsummaryrefslogtreecommitdiff
path: root/local/bin/allsync
diff options
context:
space:
mode:
Diffstat (limited to 'local/bin/allsync')
-rwxr-xr-xlocal/bin/allsync20
1 files changed, 20 insertions, 0 deletions
diff --git a/local/bin/allsync b/local/bin/allsync
new file mode 100755
index 0000000..b475460
--- /dev/null
+++ b/local/bin/allsync
@@ -0,0 +1,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