#!/bin/zsh case `date +"%a"` in Sat|Sun) offlineimap -a private ;; *) offlineimap ;; esac $HOME/.local/bin/offlineimap-notification