added wlan widget
This commit is contained in:
parent
aa21c7fa41
commit
16cb441d9c
3
rc.lua
3
rc.lua
|
@ -96,7 +96,7 @@ batwidget = widget({ type = "textbox" })
|
||||||
vicious.register(batwidget, vicious.widgets.batat, "$1$2% - $3", 61)
|
vicious.register(batwidget, vicious.widgets.batat, "$1$2% - $3", 61)
|
||||||
|
|
||||||
wlanwidget = widget({ type = "textbox" })
|
wlanwidget = widget({ type = "textbox" })
|
||||||
vicious.register(wlanwidget, vicious.widgets.wifi, "WLAN ${ssid} @ ${rate}", 31, "wlan0")
|
vicious.register(wlanwidget, vicious.widgets.wifi, "WLAN ${ssid} @ ${sign}", 31, "wlan0")
|
||||||
-- Create a wibox for each screen and add it
|
-- Create a wibox for each screen and add it
|
||||||
leftwibox = {}
|
leftwibox = {}
|
||||||
rightwibox = {}
|
rightwibox = {}
|
||||||
|
@ -140,6 +140,7 @@ for s = 1, screen.count() do
|
||||||
{
|
{
|
||||||
memwidget,
|
memwidget,
|
||||||
separator, spacer, batwidget,
|
separator, spacer, batwidget,
|
||||||
|
separator, spacer, wlanwidget,
|
||||||
spacer,
|
spacer,
|
||||||
layout = awful.widget.layout.horizontal.leftright
|
layout = awful.widget.layout.horizontal.leftright
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue