bin/nostromo/statusbar
#!/bin/sh while true do time=$(date +"%A %Y-%m-%d %I:%M %p") time="$time $(date -u +"(%H:%M UTC)")" bat="$(cat /sys/class/power_supply/BAT1/capacity)%" wifi="$(nmcli -t dev show wlp170s0 | grep GENERAL.CONNECTION | cut -d ':' -f 2)" printf "wifi: %s | bat: %s | %s\n" "$wifi" "$bat" "$time" sleep 10 done