commit 6b0315649df2cd3e113d68bdf61be5a1c6769462
parent 990dc98ae2588100c58ef7a589ba710cf4ac3d33
Author: Daniel Moch <daniel@danielmoch.com>
Date: Mon, 16 Dec 2019 05:25:18 -0500
tmux-session: Add sessions for mail and news
Diffstat:
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/.local/bin/tmux-session b/.local/bin/tmux-session
@@ -96,6 +96,14 @@ then
tmux splitw -h -l 30 cat ~/.irssi/nicklistfifo
tmux selectl main-vertical
tmux send-keys -t $name:1.1 "/keyring" "C-m" "/nicklist fifo" "C-m"
+elif [ $1 = "mail" ]
+then
+ name=mail
+ tmux new-session -s $name mutt
+elif [ $1 = "news" ]
+then
+ name=news
+ tmux new-session -s $name newsboat
fi
if [ -n "$name" ]