1
0
Fork 0
mirror of https://github.com/lcpz/awesome-copycats.git synced 2024-10-22 20:41:22 +00:00
This commit is contained in:
luke bonham 2014-11-15 13:22:01 +01:00
parent 38977768a8
commit 9f84c0364c
2 changed files with 7 additions and 1 deletions

2
lain

@ -1 +1 @@
Subproject commit b0eec6c5a8551f22e3c08c6aa0c0ad1b0b748250
Subproject commit 30658f602bff127945b0a5acee551fd58eb226fc

View file

@ -207,6 +207,12 @@ netupicon = wibox.widget.imagebox(beautiful.widget_netup)
--netupicon.align = "middle"
netupinfo = lain.widgets.net({
settings = function()
if string.match(iface,"network off") and
string.match(yawn.widget._layout.text, "N/A")
then
yawn.fetch_weather()
end
widget:set_markup(markup("#e54c62", net_now.sent .. " "))
netdowninfo:set_markup(markup("#87af5f", net_now.received .. " "))
end