10 lines
200 B
Bash
Executable File
10 lines
200 B
Bash
Executable File
#!/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
|