fix: bannerfish wasn't grabbing right string

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

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

Loading…
Cancel
Save