summaryrefslogtreecommitdiff
path: root/shs
diff options
context:
space:
mode:
authorKai Stevenson <kai@kaistevenson.com>2023-03-10 00:11:57 -0800
committerKai Stevenson <kai@kaistevenson.com>2023-03-10 00:11:57 -0800
commit9085c0769f8702eaeff4d7a425c5aa8a544e6a41 (patch)
tree0a444bfce0c04cd1d8faebfff2d53342412ec832 /shs
parent84411ae531ec72eee2aa245740b9afd506467560 (diff)
added more quotes and something else I forgot
Diffstat (limited to 'shs')
-rw-r--r--shs/quotes.txt2
-rwxr-xr-xshs/writeinfotty2
2 files changed, 3 insertions, 1 deletions
diff --git a/shs/quotes.txt b/shs/quotes.txt
index ccb8a94..f642fb0 100644
--- a/shs/quotes.txt
+++ b/shs/quotes.txt
@@ -2,3 +2,5 @@ In the lighted inn.
Dying or dead.
There's someone listening in.
So much for small talk.
+Fade out again.
+Time well spent.
diff --git a/shs/writeinfotty b/shs/writeinfotty
index d154aaf..84344be 100755
--- a/shs/writeinfotty
+++ b/shs/writeinfotty
@@ -3,7 +3,7 @@ OUT="/dev/tty1"
QUOTES="/usr/local/share/abrquotes/quotes.txt"
TAGLINE="canonical"
-printf "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n" > $OUT
+printf "\033[2J" > $OUT
figlet -w 200 $(shuf -n 1 $QUOTES) > $OUT
figlet -w 200 "$HOSTNAME % $TAGLINE" > $OUT
printf "\n" > $OUT