Skip to content

Instantly share code, notes, and snippets.

View dennisse's full-sized avatar

Dennis Eriksen dennisse

View GitHub Profile
@dennisse
dennisse / mbsync-notify.sh
Last active October 26, 2018 10:02 — forked from john2x/offlineimap-notify.sh
mbsync-notify.sh
#!/usr/bin/env bash
# This file:
#
# - Uses mbsync to check your email if you have a connection to the server.
# - Slows down syncing if you're on battery
# - Notifies you of new emails
#
#
# Usage:
#