Merge branch 'master' of https://github.com/copycat-killer/awesome-copycats
This commit is contained in:
commit
a924f69341
|
@ -195,6 +195,7 @@ volumewidget = lain.widgets.alsa({
|
|||
if volume_now.status == "off" then
|
||||
volume_now.level = volume_now.level .. "M"
|
||||
end
|
||||
|
||||
widget:set_markup(markup("#7493d2", volume_now.level .. "% "))
|
||||
end
|
||||
})
|
||||
|
@ -207,7 +208,7 @@ netupicon = wibox.widget.imagebox(beautiful.widget_netup)
|
|||
--netupicon.align = "middle"
|
||||
netupinfo = lain.widgets.net({
|
||||
settings = function()
|
||||
if string.match(iface,"network off") and
|
||||
if iface ~= "network off" and
|
||||
string.match(yawn.widget._layout.text, "N/A")
|
||||
then
|
||||
yawn.fetch_weather()
|
||||
|
|
Loading…
Reference in New Issue