plinki / polybar-cryptocurrency

Fetch cryptocoin prices & their icons to display on polybar
GNU General Public License v3.0
12 stars 2 forks source link
polybar-scripts

polybar-cryptocurrency

pcrypto pcrypto2 pcrypto3

A polybar script much like polybar-crypto. It's a great script, but:

Setup

git clone https://github.com/plinki/polybar-cryptocurrency.git

cd polybar-cryptocurrency && ./setup.sh

or copy coins.otf to ~/.fonts, and coins.svg & pcrypto.py to ~/.config/polybar

Module

Add to your polybar config:

[bar/my-left]
modules-right = crypto

[module/crypto]
type = custom/script
exec = ~/.config/polybar/pcrypto.py --base USD --coins btc eth link ltc xrp xmr
interval = 60

font-0 = "coins:style=Regular;0"

Icons

Icons are fetched from coins.svg, if you'd like to use your own icon for a specific coin, just replace the unicode with the icon

:btc

more options in pcrypto.py -h