Skip to content

A polybar script that displays the price of crypto-currencies

Notifications You must be signed in to change notification settings

willHol/polybar-crypto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages