From 47350f55befd90a4fa395b2612bfbf1f36efc6de Mon Sep 17 00:00:00 2001 From: luke bonham Date: Sat, 15 Nov 2014 13:38:25 +0100 Subject: [PATCH] #63 fix --- lain | 2 +- rc.lua.multicolor | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lain b/lain index 30658f6..0bfa28f 160000 --- a/lain +++ b/lain @@ -1 +1 @@ -Subproject commit 30658f602bff127945b0a5acee551fd58eb226fc +Subproject commit 0bfa28f7491904bebefeb02efe6e020da2ed8cf8 diff --git a/rc.lua.multicolor b/rc.lua.multicolor index 14fb02d..08ffd03 100644 --- a/rc.lua.multicolor +++ b/rc.lua.multicolor @@ -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()