dots/configs/home/config/polybar/eth.sh

4 lines
111 B
Bash
Raw Normal View History

2022-04-03 01:11:04 +02:00
#!bin/dash
curl -s https://api.coinbase.com/v2/prices/ETH-EUR/spot | sed -n 's|.*"amount":"\([^"]*\)".*|\1|p'