From 47a504815458510cab8545a139c2a4a23ef6f373 Mon Sep 17 00:00:00 2001 From: Rob Muhlestein Date: Sun, 16 Jul 2023 00:21:48 -0400 Subject: [PATCH] add bannerneo --- scripts/bannerneo | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 scripts/bannerneo diff --git a/scripts/bannerneo b/scripts/bannerneo new file mode 100755 index 0000000..6214e57 --- /dev/null +++ b/scripts/bannerneo @@ -0,0 +1,8 @@ +#!/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 "neo" Enter