#!/usr/bin/env bash # ZION TERMINAL - status-right do tmux (leve, sem chamadas lentas) # Cyberdeck criado por Pablo Murad em 2026 export LC_ALL=C t=$(cat /sys/class/thermal/thermal_zone0/temp 2>/dev/null); t=$((t/1000)) load=$(cut -d' ' -f1 /proc/loadavg) ts=$(sed -n 's/^TS_ESTADO=//p' /run/zion/status 2>/dev/null) case "$ts" in conectado) tsl="TS on";; parado) tsl="TS off";; *) tsl="TS ?";; esac printf '%s · carga %s · %s°C · %s' "$tsl" "$load" "$t" "$(date '+%H:%M')"