fix: bannerfish wasn't grabbing right string

main
Rob Muhlestein 10 months ago
parent 5a64973fa7
commit 515e65077d

@ -1,8 +1,7 @@
#!/usr/bin/env bash
what="$*"
if [ -z "${what}" ]; then
read -p "Text: " what
read -r -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

Loading…
Cancel
Save