X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/0106afdaea95741fb0af66a88ef887a126c1e7fd..9ab190ce855df436019905153582c406299197e6:/.config/awesome/cryptocoin_widgets.lua?ds=sidebyside diff --git a/.config/awesome/cryptocoin_widgets.lua b/.config/awesome/cryptocoin_widgets.lua index ef6435d..430619b 100644 --- a/.config/awesome/cryptocoin_widgets.lua +++ b/.config/awesome/cryptocoin_widgets.lua @@ -13,12 +13,12 @@ local function poloniex_price(output, pair, prec) return (not err and val) or "n/a" end -widgets.eth_widget = awful.widget.watch( - "curl -m5 -s 'https://poloniex.com/public?command=returnTicker'", 600, - function(widget, output) - widget:set_text(poloniex_price(output, 'BTC_ETH') .. " Ƀ/Ξ") - end -) +-- widgets.eth_widget = awful.widget.watch( +-- "curl -m5 -s 'https://poloniex.com/public?command=returnTicker'", 600, +-- function(widget, output) +-- widget:set_text(poloniex_price(output, 'BTC_ETH') .. " Ƀ/Ξ") +-- end +-- ) local function coindesk_price(output, base, prec) local xc, pos, err = dkjson.decode(output, 1, nil)