willHol / polybar-crypto

A polybar script that displays the price of crypto-currencies

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 &&
    mkdir -p ~/.config/polybar &&
    cp ./{crypto-config,crypto.py} ~/.config/polybar &&
    sudo chmod u+x ~/.config/polybar/crypto.py

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

About

A polybar script that displays the price of crypto-currencies


Languages

Language:Python 100.0%