#!/bin/sh daily () { # maybe add: https://discord.com/channels/@me o "$BROWSER" https://github.com/notifications https://mail.google.com 'https://mail.google.com/mail/u/0/#spam' # alacritty --hold must be before -e # full window: -w156, am and pm in one line: -w114 o alacritty --hold -e rem -cu+2 -@ -w114 o alacritty --hold -e wtr o alacritty -e newsboat o alacritty -e weechat o telegram-desktop } monthly () { o alacritty --hold -e rate o "$BROWSER" --new-window https://smtp.cheogram.com/ } if [ $# -eq 0 ]; then daily else while getopts m opt; do case $opt in m) monthly;; \?) exit 1;; esac done fi