mirror of
https://github.com/lcpz/awesome-copycats.git
synced 2024-12-23 03:32:30 +00:00
#63 fix
This commit is contained in:
parent
38977768a8
commit
9f84c0364c
2
lain
2
lain
|
@ -1 +1 @@
|
||||||
Subproject commit b0eec6c5a8551f22e3c08c6aa0c0ad1b0b748250
|
Subproject commit 30658f602bff127945b0a5acee551fd58eb226fc
|
|
@ -207,6 +207,12 @@ netupicon = wibox.widget.imagebox(beautiful.widget_netup)
|
||||||
--netupicon.align = "middle"
|
--netupicon.align = "middle"
|
||||||
netupinfo = lain.widgets.net({
|
netupinfo = lain.widgets.net({
|
||||||
settings = function()
|
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 .. " "))
|
widget:set_markup(markup("#e54c62", net_now.sent .. " "))
|
||||||
netdowninfo:set_markup(markup("#87af5f", net_now.received .. " "))
|
netdowninfo:set_markup(markup("#87af5f", net_now.received .. " "))
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue