#!/bin/sh while : do current_btc="$(curl -sSL 'https://mempool.space/api/v1/prices' | jq '.USD')" echo " btc: $current_btc " > /home/naiji/.local/share/i3status/now-crypto sleep 3600 done