Win96
Revision as of 02:06, 4 December 2025 by Grug (talk | contribs) (Created page with "Welcome screen for E-ink tablet '''Win96.''' <div style="font-size:60%; max-width:70%; margin-left:auto; margin-right:auto;"> <syntaxhighlight> GNU nano 8.3 /data/data/com.termux/files/home/.config/termux/termux-welcome #!/data/data/com.termux/files/usr/bin/bash # ~/.config/termux/termux-welcome # Custom Termux welcome banner # ---- Colors & helpers ------------------------------------------------- RED='\e[31m'; GR...")
Welcome screen for E-ink tablet Win96.
GNU nano 8.3 /data/data/com.termux/files/home/.config/termux/termux-welcome
#!/data/data/com.termux/files/usr/bin/bash
# ~/.config/termux/termux-welcome
# Custom Termux welcome banner
# ---- Colors & helpers -------------------------------------------------
RED='\e[31m'; GREEN='\e[32m'; YELLOW='\e[33m'; BLUE='\e[34m'; MAG='\e[35m'; CYAN='\e[36m'; RESET='\e[0m'
clear
# ---- 1. ASCII "Win96" Banner -----------------------------------------
echo -e "${RED}"
cat << 'EOF'
___ __ ___ ________ ________ ________
|\ \ |\ \|\ \|\ ___ \ |\ ___ \|\ ____\
\ \ \ \ \ \ \ \ \ \\ \ \ \ \____ \ \ \___|
\ \ \ __\ \ \ \ \ \ \\ \ \ \|____|\ \ \ \____
\ \ \|\__\_\ \ \ \ \ \\ \ \ __\_\ \ \ ___ \
\ \____________\ \__\ \__\\ \__\ |\_______\ \_______\
\|____________|\|__|\|__| \|__| \|_______|\|_______|
EOF
echo -e "${RESET}"
# ---- Fake Windows 98 Boot Message --------------------------------------
echo -e " ${BLUE}Starting Windows 96...${NC}"
sleep 0.8
echo -e " ${BLUE}✔ Windows 96 is now starting up...${NC}"
echo
# ---- Windows 98-style progress bar (single line) -----------------------
echo -en " ${BLUE}Loading personal settings...${NC} ["
for i in {1..30}; do
echo -en "${BLUE}█${NC}"
sleep 0.06
done
echo -e "] 100%\n"
# ---- Fake registry check (pure nostalgia) ------------------------------
echo -e " ${BLUE}Scanning registry for orphan entries...${NC}"
sleep 1.2
echo -e " ${BLUE}No problems found.${NC}\n"
# ---- Fake disk scan (like ScanDisk on boot) ----------------------------
echo -e " ${BLUE}Checking drives for errors...${NC}"
for disk in "C:" "D:" "E:"; do
printf " ${disk} ["
for n in {1..20}; do
printf "${BLUE}█${NC}"
sleep 0.04
done
echo -e "] 100% - No errors found"
done
echo
# ---- Fake hardware detection -------------------------------------------
echo -e " ${BLUE}Detecting hardware...${NC}"
sleep 0.9
echo -e " ${BLUE}✔ Primary IDE controller (dual fifo) .......... Found${NC}"
echo -e " ${BLUE}✔ Plug and Play devices ....................... 42 found${NC}"
echo -e " ${BLUE}✔ Floppy disk controller ....................... Found${NC}"
sleep 0.7
echo
# ---- 2. Greeting + date/time -----------------------------------------
echo -e " ${BLUE}Howdy, Windows96! It is $(date '+%A, %d %B %Y – %H:%M:%S')"
echo
# ---- 4. Today's weather (Fort Wayne, IN) -----------------------------
# echo -e " ${BLUE}Here's the weather in Fort Wayne, IN:${RESET}"
curl -s wttr.in/Fort_Wayne,Indiana?u | head -n 7 | sed 's/^/ /'
echo
# System info
echo -e " ${BLUE}OS:${NC} Android $(getprop ro.build.version.release)"
echo -e " ${BLUE}Kernel:${NC} $(uname -r)"
echo -e " ${BLUE}Uptime:${NC} $(uptime -p | sed 's/up //')"
echo -e " ${BLUE}Storage:${NC} $(df -h ~ | awk 'NR==2 {printf "%s/%s (%s)", $3, $2, $5}')"
echo