summaryrefslogtreecommitdiff
path: root/writeinfotty
diff options
context:
space:
mode:
Diffstat (limited to 'writeinfotty')
-rwxr-xr-xwriteinfotty11
1 files changed, 6 insertions, 5 deletions
diff --git a/writeinfotty b/writeinfotty
index 66de080..92fcd81 100755
--- a/writeinfotty
+++ b/writeinfotty
@@ -7,10 +7,11 @@ BUF="$BUF \n$(figlet -w 200 $(shuf -n 1 $QUOTES))"
BUF="$BUF \n$(figlet -w 200 "$HOSTNAME % $TAGLINE.")"
BUF="$BUF \n$(figlet -w 200 $(date +"%a. %I:%M."))"
BUF="$BUF\n"
-BUF="$BUF $(neofetch)"
BUF="$BUF\n"
-BUF="$BUF $(mpc stats)"
-BUF="$BUF\nKai Stevenson 2023"
-
-printf "\033[2J" > $OUT
+BUF="$BUF$(neofetch)"
+BUF="$BUF\n"
+BUF="$BUF$(mpc stats)"
+BUF="$BUF\nKai Stevenson 2024"
+printf "\033[2J" > $OUT #clear the terminal
+dd if=/dev/zero of=/dev/fb0 #clear the framebuffer
printf "$BUF" > $OUT