diff options
author | Adrian C. (anrxc) <anrxc@sysphere.org> | 2009-10-18 20:50:53 +0200 |
---|---|---|
committer | Adrian C. (anrxc) <anrxc@sysphere.org> | 2009-10-18 20:50:53 +0200 |
commit | 548caf5a9f18a5fdb397fcf5714b68ca9985025d (patch) | |
tree | 681c6041c06db6426e0473661e20a7a570e6114a | |
parent | e7381cfc31ec8d35285b6a6b49378918d0b28ca1 (diff) | |
download | awesome-configs-548caf5a9f18a5fdb397fcf5714b68ca9985025d.tar.xz |
rc.lua: removed wifi usage widget
-rw-r--r-- | rc.lua | 12 |
1 files changed, 2 insertions, 10 deletions
@@ -172,19 +172,12 @@ local dnicon = widget({ type = "imagebox" }) local upicon = widget({ type = "imagebox" }) dnicon.image = image(beautiful.widget_net) upicon.image = image(beautiful.widget_netup) --- Initialize widgets +-- Initialize widget local netwidget = widget({ type = "textbox" }) -local wetwidget = widget({ type = "textbox" }) --- Enable caching -vicious.enable_caching(vicious.widgets.net) --- Register ethernet widget +-- Register widget vicious.register(netwidget, vicious.widgets.net, '<span color="' .. beautiful.fg_netdn_widget ..'">${eth0 down_kb}</span> <span color="' .. beautiful.fg_netup_widget ..'">${eth0 up_kb}</span>', 3) --- Register wireless widget -vicious.register(wetwidget, vicious.widgets.net, '<span color="' - .. beautiful.fg_netdn_widget ..'">${wlan0 down_kb}</span> <span color="' - .. beautiful.fg_netup_widget ..'">${wlan0 up_kb}</span>', 3) -- }}} -- {{{ Mail subject @@ -322,7 +315,6 @@ for s = 1, screen.count() do separator, volwidget, spacer, volbar.widget, volicon, separator, spacer, orgwidget, orgicon, separator, mailwidget, mailicon, - separator, upicon, wetwidget, dnicon, separator, upicon, netwidget, dnicon, separator, fs.b.widget, fs.s.widget, fs.h.widget, fs.r.widget, fsicon, separator, spacer, membar.widget, spacer, memicon, |