summaryrefslogtreecommitdiff
path: root/shs/writeinfotty
diff options
context:
space:
mode:
authorKai Stevenson <kai@kaistevenson.com>2023-03-09 23:49:55 -0800
committerKai Stevenson <kai@kaistevenson.com>2023-03-09 23:50:44 -0800
commit9ee861c0d37203eab61797546bad68eefff141ab (patch)
treeaf969c9d4ccb9268e1fb4880ad068e2ddce1a977 /shs/writeinfotty
parentd67cea130d26cd1edb800d4a3458bfd742e4510f (diff)
changed structure slightly, added new script
Diffstat (limited to 'shs/writeinfotty')
-rwxr-xr-xshs/writeinfotty12
1 files changed, 12 insertions, 0 deletions
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