MultiversX Tracker is Live!

Crypto conky script to show up to the minute prices

All Cryptocurrencies

by COINS NEWS 90 Views

Here's a small useful desktop 'widget' (conky scipt) that I've made and been using for a couple of months now. Thought I would share it. (** It's the one on TOP RIGHT - PRICES **)

Pic: https://pasteboard.co/wV1zTa0GGjAS.png

NOTE: These only work for LINUX OS's.The one on the left of the pink separator bar shows a screen grab of it running in TAILS OSThe one on the right of the pink bar shows a screen grab of it running from a LIVE Xubuntu OS(not installed on hard disk). The prices update from 44-99 seconds.

The other conky window shows the system stats, and some watch addresses of various wallets(BTC, LTC, ETH, USDT, ERC20 wallets). They update every 45-60 seconds.It's handy for an at-a-glance look at addresses you want to monitor

Here's a screengrab of one with RSS feeds from decrypt and cryptopanic aggregators:https://pasteboard.co/tfXtT9WGJsYW.png

Here's the script for the 'prices' windows. Save it as prices.conf in your conky directory.run it: conky -c prices.confAlso need to have wget, torsock and curl installed if you already haven't got it on your system

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<conky.config = {

-- Settingsbackground = true,use_xft = true,font = 'monospace:size=10',xftalpha = 0.4,update_interval = 1.0,total_run_times = 0,own_window = true,own_window_transparent = true,own_window_type = 'desktop',--normalown_window_hints = 'undecorated,below,skip_taskbar,skip_pager,sticky',own_window_class = 'override',own_window_title = 'Conky',double_buffer = true,minimum_width = 254, minimum_height = 200, -- Edit to suitmaximum_width = 254, -- Edit to suitdraw_shades = false,default_shade_color = '000000',draw_borders = false,draw_graph_borders = false,default_color = 'c6c6c6',draw_outline = false,default_outline_color = '828282',alignment = 'top_right',gap_x = 20, -- Edit to suitgap_y = 44, -- Edit to suitno_buffers = true,uppercase = false,cpu_avg_samples = 2,override_utf8_locale = true,-- # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #

};conky.text = [[

${color FFFFFF}${font monospace:bold:size=10}P R I C E S ${color 737271}${hr}${color a3a2a1}${font monospace:bold:size=9}

${color F2A900} BTC: ${color FFFFFF}${alignr}${execi 44 wget -qO- "https://api.binance.com/api/v3/ticker/price?symbol=BTCUSDT" | jq '.price' | xargs printf "$%.2f"} ${font monospace:regular:size=9}${color a3a2a1} ETH: ${color a3a2a1}${alignr}${execi 55 wget -qO- "https://api.binance.com/api/v3/ticker/price?symbol=ETHUSDT" | jq '.price' | xargs printf "$%.2f"}${color a3a2a1} LTC: ${color a3a2a1}${alignr}${execi 66 wget -qO- "https://api.binance.com/api/v3/ticker/price?symbol=LTCUSDT" | jq '.price' | xargs printf "$%.2f"}${color a3a2a1} AVAX: ${color a3a2a1}${alignr}${execi 72 wget -qO- "https://api.binance.com/api/v3/ticker/price?symbol=AVAXUSDT" | jq '.price' | xargs printf "$%.2f"} ${color a3a2a1} ICP: ${color a3a2a1}${alignr}${execi 75 wget -qO- "https://api.binance.com/api/v3/ticker/price?symbol=ICPUSDT" | jq '.price' | xargs printf "$%.2f"} ${color a3a2a1} LINK: ${color a3a2a1}${alignr}${execi 78 wget -qO- "https://api.binance.com/api/v3/ticker/price?symbol=LINKUSDT" | jq '.price' | xargs printf "$%.2f"} ${color a3a2a1} MATIC: ${color a3a2a1}${alignr}${execi 81 wget -qO- "https://api.binance.com/api/v3/ticker/price?symbol=MATICUSDT" | jq '.price' | xargs printf "$%.2f"} ${color a3a2a1} SOL: ${color a3a2a1}${alignr}${execi 84 wget -qO- "https://api.binance.com/api/v3/ticker/price?symbol=SOLUSDT" | jq '.price' | xargs printf "$%.2f"} ${color a3a2a1} UNI: ${color a3a2a1}${alignr}${execi 87 wget -qO- "https://api.binance.com/api/v3/ticker/price?symbol=UNIUSDT" | jq '.price' | xargs printf "$%.2f"} ${color a3a2a1} ATOM: ${color a3a2a1}${alignr}${execi 90 wget -qO- "https://api.binance.com/api/v3/ticker/price?symbol=ATOMUSDT" | jq '.price' | xargs printf "$%.2f"} ${color a3a2a1} ADA: ${color a3a2a1}${alignr}${execi 93 wget -qO- "https://api.binance.com/api/v3/ticker/price?symbol=ADAUSDT" | jq '.price' | xargs printf "$%.8f"} ${color a3a2a1} ALGO: ${color a3a2a1}${alignr}${execi 96 wget -qO- "https://api.binance.com/api/v3/ticker/price?symbol=ALGOUSDT" | jq '.price' | xargs printf "$%.8f"} ${color a3a2a1} CRO: ${color a3a2a1}${alignr}${execi 99 wget -qO- "https://api.coinbase.com/v2/prices/CRO-USD/spot" | jq '.data.amount' | xargs printf "$%.8f"} ${color a3a2a1} DOGE: ${color a3a2a1}${alignr}${execi 88 wget -qO- "https://api.binance.com/api/v3/ticker/price?symbol=DOGEUSDT" | jq '.price' | xargs printf "$%.8f"} ${color a3a2a1} SHIB: ${color a3a2a1}${alignr}${execi 77 wget -qO- "https://api.binance.com/api/v3/ticker/price?symbol=SHIBUSDT" | jq '.price' | xargs printf "$%.8f"} ${color a3a2a1} HEX: ${color a3a2a1}${alignr}${execi 66 wget -qO- "https://api.coinpaprika.com/v1/tickers/hex-hex?quotes=USD" | jq -r '"$" + (.quotes.USD.price | tostring | .[:10])'} ${color a3a2a1} XMR: ${color a3a2a1}${alignr}${execi 69 wget -qO- "https://api.coinpaprika.com/v1/tickers/xmr-monero?quotes=USD" | jq -r '"$" + (.quotes.USD.price | tostring | .[:6])'}]];

submitted by /u/CipherSechs
[link] [comments]
Get BONUS $200 for FREE!

You can get bonuses upto $100 FREE BONUS when you:
πŸ’° Install these recommended apps:
πŸ’² SocialGood - 100% Crypto Back on Everyday Shopping
πŸ’² xPortal - The DeFi For The Next Billion
πŸ’² CryptoTab Browser - Lightweight, fast, and ready to mine!
πŸ’° Register on these recommended exchanges:
🟑 Binance🟑 Bitfinex🟑 Bitmart🟑 Bittrex🟑 Bitget
🟑 CoinEx🟑 Crypto.com🟑 Gate.io🟑 Huobi🟑 Kucoin.



Comments