From 838c93ed43e09c308b5feb2cd05a6e71e787474d Mon Sep 17 00:00:00 2001 From: mdw Date: Sat, 20 Sep 2025 10:19:02 +0300 Subject: Print some whitespace at teh end to hide any remaining characters when something shrinks --- termbar.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/termbar.sh b/termbar.sh index 9726c6a..e2a8f83 100755 --- a/termbar.sh +++ b/termbar.sh @@ -75,6 +75,6 @@ while true; do audio tput cup 1 0 printf "[${VER}] ${pipe} ${DATE} ${pipe} ${cyanf}CPU:${reset} ${CPU_SPEED} MHz (${CPU_TEMP} °C) ${pipe} ${cyanf}RAM:${reset} ${MEM} " - printf "${pipe} /home: ${DISK} ${pipe} ${cyanf}Bat:${reset} $BAT - ${BAT_STATUS} ${pipe} ${cyanf}Audio:${reset} ${VOLUME}" + printf "${pipe} /home: ${DISK} ${pipe} ${cyanf}Bat:${reset} $BAT - ${BAT_STATUS} ${pipe} ${cyanf}Audio:${reset} ${VOLUME} \t \t \t \t" sleep 1 done -- cgit v1.2.3