]> git.madduck.net Git - etc/awesome.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

remove debug output
authormartin f. krafft <madduck@madduck.net>
Mon, 30 Jan 2017 03:17:54 +0000 (16:17 +1300)
committermartin f. krafft <madduck@madduck.net>
Mon, 30 Jan 2017 03:17:54 +0000 (16:17 +1300)
.config/awesome/rc.lua

index 57e70c7396ccf304ddf4a22b6c48c8209d9dccca..10de966a78bedd7ba7f7f56465464802a442a513 100644 (file)
@@ -151,7 +151,6 @@ local eth_widget = lain.widgets.abase({
 })
 
 local function coindesk_price(output, base, prec)
 })
 
 local function coindesk_price(output, base, prec)
-    print(output)
     local xc, pos, err = dkjson.decode(output, 1, nil)
     if not prec then prec = 4 end
     val = (xc and xc["bpi"][base]["rate_float"]) or 0
     local xc, pos, err = dkjson.decode(output, 1, nil)
     if not prec then prec = 4 end
     val = (xc and xc["bpi"][base]["rate_float"]) or 0