1
0
Fork 0
mirror of https://github.com/lcpz/awesome-copycats.git synced 2024-12-23 03:32:30 +00:00
This commit is contained in:
luke bonham 2014-11-15 13:38:25 +01:00
parent 9f84c0364c
commit 47350f55be
2 changed files with 3 additions and 2 deletions

2
lain

@ -1 +1 @@
Subproject commit 30658f602bff127945b0a5acee551fd58eb226fc Subproject commit 0bfa28f7491904bebefeb02efe6e020da2ed8cf8

View file

@ -195,6 +195,7 @@ volumewidget = lain.widgets.alsa({
if volume_now.status == "off" then if volume_now.status == "off" then
volume_now.level = volume_now.level .. "M" volume_now.level = volume_now.level .. "M"
end end
widget:set_markup(markup("#7493d2", volume_now.level .. "% ")) widget:set_markup(markup("#7493d2", volume_now.level .. "% "))
end end
}) })
@ -207,7 +208,7 @@ 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 if iface ~= "network off" and
string.match(yawn.widget._layout.text, "N/A") string.match(yawn.widget._layout.text, "N/A")
then then
yawn.fetch_weather() yawn.fetch_weather()