diff options
Diffstat (limited to 'shs')
| -rw-r--r-- | shs/quotes.txt | 4 | ||||
| -rwxr-xr-x | shs/tmuxsplitscreen | 20 | ||||
| -rwxr-xr-x | shs/writeinfotty | 12 |
3 files changed, 36 insertions, 0 deletions
diff --git a/shs/quotes.txt b/shs/quotes.txt new file mode 100644 index 0000000..ccb8a94 --- /dev/null +++ b/shs/quotes.txt @@ -0,0 +1,4 @@ +In the lighted inn. +Dying or dead. +There's someone listening in. +So much for small talk. diff --git a/shs/tmuxsplitscreen b/shs/tmuxsplitscreen new file mode 100755 index 0000000..9f81bd3 --- /dev/null +++ b/shs/tmuxsplitscreen @@ -0,0 +1,20 @@ +tmux new-session -d -s userone-internal +tmux new-session -d -s usertwo-internal + +tmux new-session -d -s userone +sleep 0.05 +tmux send-keys -t userone "TMUX=''" C-m +tmux send-keys -t userone "tmux attach -t usertwo-internal" C-m +tmux split-pane -t userone -h +sleep 0.05 +tmux send-keys -t userone "TMUX=''" C-m +tmux send-keys -t userone "tmux attach -t userone-internal" C-m + +tmux new-session -d -s usertwo +sleep 0.05 +tmux send-keys -t usertwo "TMUX=''" C-m +tmux send-keys -t usertwo "tmux attach -t userone-internal" C-m +tmux split-pane -t usertwo -h +sleep 0.05 +tmux send-keys -t usertwo "TMUX=''" C-m +tmux send-keys -t usertwo "tmux attach -t usertwo-internal" C-m diff --git a/shs/writeinfotty b/shs/writeinfotty new file mode 100755 index 0000000..6311840 --- /dev/null +++ b/shs/writeinfotty @@ -0,0 +1,12 @@ +#!/bin/sh +OUT="/dev/tty1" +QUOTES="/usr/local/share/abrquotes/quotes.txt" + +clear > $OUT +figlet -w 200 $(shuf -n 1 $QUOTES) > $OUT +figlet -w 200 "$HOSTNAME % canonical" > $OUT +printf "\n" > $OUT +neofetch > $OUT +date > $OUT +mpc stats > $OUT +printf "\nKai Stevenson 2023" > $OUT |
