diff --git a/ayo.sh b/ayo.sh index 90059a7..f871fcf 100755 --- a/ayo.sh +++ b/ayo.sh @@ -66,6 +66,9 @@ case $1 in ## SCRIPTS + m | mail) + . ${scripts_dir}/mail.sh $2 $3 $4 $5 $6 $7 $8 $9 + ;; d | display) . ${scripts_dir}/display.sh $2 $3 $4 $5 $6 $7 $8 $9 ;; @@ -87,7 +90,7 @@ case $1 in c | config) echo 'Config script in-progress' ;; - m | mac) + vm | mac) quickemu --vm ${HOME}/macos-monterey.conf --width 1920 --height 1080 ;; ms) diff --git a/mail.sh b/mail.sh new file mode 100755 index 0000000..228a2d2 --- /dev/null +++ b/mail.sh @@ -0,0 +1,18 @@ +#! /usr/bin/bash + +## mail automation / management + +# Load config +. ${HOME}/ayo.conf +. ${scripts_dir}/functions.sh + +# TODO: write log for echoes with >>> + +command=$1 + +if [ "$1" = "task" ] || [ "$1" = "t" ]; then + read -p "Task:" task + mutt -s task things +else + mutt $1 $2 $3 $4 $5 +fi