From 20d38aeaf9b0880aee21cfedf277582889d2399f Mon Sep 17 00:00:00 2001 From: Tony Date: Wed, 21 Dec 2011 17:15:55 -0600 Subject: [PATCH] Fix bug where the netwidget wouldn't show the correct device --- rc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc.lua b/rc.lua index b763043..ae0dd6e 100755 --- a/rc.lua +++ b/rc.lua @@ -245,7 +245,7 @@ vicious.register(netwidget, vicious.widgets.net, netwidget.found = true dnicon.image = image(beautiful.widget_net) upicon.image = image(beautiful.widget_netup) - return print_net(device, args["{eth0 down_kb}"], args["{eth0 up_kb}"]) + return print_net(device, args["{"..device .." down_kb}"], args["{"..device.." up_kb}"]) end end end, 3)