rwxrob-dot/scripts/bannerfish

9 lines
227 B
Plaintext
Raw Normal View History

2022-02-09 07:29:05 +00:00
#!/usr/bin/env bash
what="$*"
if [ -z "${what}" ]; then
read -p "Text: " what
fi
cols=$(tput lines)
pomo stop
tmux split-window \; resize-pane -y $((cols-6)) \; send -t 1 "banner \"$what\"" Enter \; send -t 2 "fishies" Enter