Skip to content

plinki/polybar-cryptocurrency

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

polybar-cryptocurrency

pcrypto pcrypto2 pcrypto3

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

  • I dislike messing with configuration files for small scripts
  • I feel as if changing what the module displays should be quick
  • Coinranking's API is much better than CMC, in my opinion (currency symbols)
  • Guarda's icons are recent and look really nice, and it's fun to be able to fetch them quickly

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

About

Fetch cryptocoin prices & their icons to display on polybar

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published