small pixel drawing of a pufferfish dotfiles

bin/zora/statusbar

1 2 3 4 5 6 7 8 9 10 11
#!/bin/sh

while true
do
    battery="🐟 $(cat /sys/class/power_supply/BAT0/capacity)%"
    wifi="🐡 $(nmcli ge status | grep -v STATE | awk '{print $1}')"
    time=$(date +"%A %Y-%m-%d %I:%M %p")
    time="🦈 $time $(date -u +"(%H:%M UTC)")"
    printf "%s | %s | %s\n" "${wifi}" "${battery}" "${time}"
    sleep 10
done