X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/e7061e72fffb97ca76ca1622d83a3eca15ea3e5a..8132467d728e3d20d536f15a58f310fb0a8322a8:/.config/awesome/cryptocoin_widgets.lua?ds=inline diff --git a/.config/awesome/cryptocoin_widgets.lua b/.config/awesome/cryptocoin_widgets.lua index e0f3d2a..4d83772 100644 --- a/.config/awesome/cryptocoin_widgets.lua +++ b/.config/awesome/cryptocoin_widgets.lua @@ -1,6 +1,7 @@ local dkjson = require("lain.util").dkjson local math = require("math") local lain = require("lain") +local beautiful = require("beautiful") local widgets = {} @@ -17,7 +18,7 @@ widgets.eth_widget = lain.widget.watch({ timeout = 600, settings = function() widget:set_text(poloniex_price(output, 'BTC_ETH') .. " Ƀ/Ξ") - end + end, }) local function coindesk_price(output, base, prec)