/polybar-crypto

A polybar script that displays the price of crypto-currencies

Primary LanguagePython

polybar-crypto

A polybar script that displays the price of various crypto-currencies.

screen

Setup

git clone https://github.com/willHol/polybar-crypto.git &&
    cd polybar-crypto &&
    cp ./{crypto-config,crypto.py} ~/.config/polybar

Then in ~/.config/polybar/config:

[bar/top]

...

modules-right = crypto

...

[module/crypto]
type = custom/script
interval = 300
exec = /home/<user>/.config/polybar/crypto.py

Dependencies

The cryptocoins icon font is used in the screenshots, though you are free to use any other font.

If using the cryptocoins icon font, ensure that the following line is present in your ~/.config/polybar/config:

[bar/top]

...

font-0 = cryptocoins:style=Regular;0

Example Configuration

~/.config/polybar/crypto-config

[general]
base_currency = NZD
display = percentage

[bitcoin]
icon = 

[ethereum]
icon = 

[litecoin]
icon = 

[ardor]
icon = 

[NEO]
icon = 

Display Modes

display = price

screen

display = percentage

screen

display = both

screen