Created
August 16, 2019 19:48
-
-
Save thekad/9c411f365e25fb0feb1afedf759d4b76 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
function run-mutt() { | |
local account=$1 | |
local muttFile="$(realpath ${HOME}/.mutt/account-${account}.rc)" | |
echo "Launching mutt @${account}" | |
tilix \ | |
--title="$(which mutt) @${account}" \ | |
--action="app-new-session" \ | |
-e $(which mutt) -F ${muttFile} | |
} | |
function run-weechat() { | |
echo "Launching weechat" | |
tilix \ | |
--title="$(which weechat)" \ | |
-e $(which weechat) | |
} | |
run-weechat & | |
run-mutt redhat.com | |
run-mutt blegh.net | |
run-mutt gmail.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment