Giter VIP home page Giter VIP logo

polybar-xo-currency's Introduction

pxoc-00

Setup

git clone https://github.com/XO490/polybar-xo-currency.git
cd polybar-xo-currency/app
cp polybar-xo-currency.py ~/.config/polybar/scripts

Module

Add to your polybar config:

modules-right = usdrate eurrate btcrate

# Polybar-XO-Currency
[module/usdrate]
format = <label>
label = %{F#666666}%output%
type = custom/script
exec = "python ~/.config/polybar/scripts/polybar-xo-currency.py rub usd"
interval=600

[module/eurrate]
format = <label>
label = %{F#666666}%output%
type = custom/script
exec = "python ~/.config/polybar/scripts/polybar-xo-currency.py rub eur"
interval=600

[module/btcrate]
format = <label>
label = %{F#666666}%output%
type = custom/script
exec = "python ~/.config/polybar/scripts/polybar-xo-currency.py usd btc"
interval=600

Icons

For icons usage ttf-font-awesome https://fontawesome.com/cheatsheet

sudo pacman -S ttf-font-awesome

And add font to you polybar config:

FontAwesome5Free:style=Solid:size=7.5;2.5

https://github.com/polybar/polybar/wiki/Fonts

Usage

python polybar-xo-currency.py rub usd
73.78
python polybar-xo-currency.py rub usd 10
738.73
python polybar-xo-currency.py usd eur
1.08
python polybar-xo-currency.py eth btc
46.23

etc..

All Supported Currencies

Select by code

  • A ABBC ADA AE AED AFN AION ALGO ALL AMD ANG ANT AOA ARDR ARK ARS ATOM AUD AWG AZN

  • B BAM BAT BBD BCD BCH BCN BCV BCZERO BDT BDX BEAM BGN BHD BIF BMD BNB BND BOB BRD BRL BSD BSV BTC BTG BTM BTN BTS BTT BWP BXK BYN BYR BZD

  • C CAD CCCX CDF CENNZ CHF CHZ CLF CLP CNH CNX CNY COP CRC CRO CRPT CUP CVC CVE CYP CZK

  • D DAI DASH DCN DCR DEM DGB DGD DGTX DJF DKK DOGE DOP DRG DSH DTR DX DZD

  • E ECS EGP EKT ELA ELF ENG ENJ EON EOS ERN ETB ETC ETH ETN ETP EUR EURS

  • F FCT FET FJD FKP FNB FRF FTM FTT FUN FXC

  • G GAP GBP GEL GHS GIP GMD GNF GNT GRIN GTQ GXC GYD

  • H HBAR HC HEDG HKD HNL HOT HRK HT HTG HUF HYN

  • I ICX IDR IEP ILS INB INO INR INX IOST IOT IQD IRR ISK ITL

  • J JMD JOD JPY JWL

  • K KAASO KBC KCS KES KGS KHR KMD KMF KNC KPW KRW KWD KYD KZT

  • L LAK LAMB LBP LEO LINK LKR LOOM LRC LRD LSK LSL LTC LTL LUNA LVL LYD

  • M MAD MAID MANA MATIC MCO MDL MEXC MGA MIOTA MKD MKR MMK MNT MOF MONA MOP MRO MUR MVR MWK MXM MXN MYR MZN

  • N NAD NANO NAS NEO NET NEW NEX NEXO NGN NIO NMC NOK NPR NPXS NRG NULS NVC NZD

  • O ODE OKB OMG OMR ONT OSC

  • P PAB PAI PAX PEN PGK PHP PKR PLC PLN PPC PPT PYG PZM

  • Q QAR QASH QNT QTUM

  • R RDD REN REP RIF RLC RON RSD RUB RVN RWF

  • S SAR SBD SC SCR SDG SEELE SEK SGD SHP SIT SLL SLV SNT SNX SOLVE SOS SRD STD STEEM STRAT SVC SXP SYP SZL

  • T THB THETA THR THX TJS TMT TND TNT TOP TRX TRY TTD TUSD TWD TZS

  • U UAH UGX USD USDC USDT UYU UZS

  • V VEF VERI VET VITAE VND VSYS VUV

  • W WAN WAVES WICC WIN WIX WST WTC

  • X XAF XCD XEM XIN XLAB XLM XMR XMX XOF XPF XRP XTZ XVG XZC

  • Y YER

  • Z ZAR ZB ZEC ZEN ZIL ZMW ZRX ZWL

polybar-xo-currency's People

Contributors

xo490 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.