summaryrefslogtreecommitdiff
path: root/shs
diff options
context:
space:
mode:
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