From 2e12e47eb1176e752d7be381b877d65f24c4087d Mon Sep 17 00:00:00 2001 From: Sviatoslav Sydorenko Date: Wed, 21 Mar 2018 19:18:11 +0100 Subject: Beautify pop-up code style --- weather-widget/weather.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/weather-widget/weather.lua b/weather-widget/weather.lua index 463c785..854ff49 100644 --- a/weather-widget/weather.lua +++ b/weather-widget/weather.lua @@ -114,12 +114,12 @@ weather_widget:connect_signal("mouse::enter", function() icon = path_to_icons .. icon_map[resp.weather[1].icon], icon_size=20, text = - '' .. resp.weather[1].main .. ' (' .. resp.weather[1].description .. ')
' .. - 'Humidity: ' .. resp.main.humidity .. '%
' .. - 'Temperature: ' .. to_celcius(resp.main.temp) .. '
' .. - 'Pressure: ' .. resp.main.pressure .. 'hPa
' .. - 'Clouds: ' .. resp.clouds.all .. '%
' .. - 'Wind: ' .. resp.wind.speed .. 'm/s (' .. to_direction(resp.wind.deg) .. ')', + '' .. resp.weather[1].main .. ' (' .. resp.weather[1].description .. ')
' .. + 'Humidity: ' .. resp.main.humidity .. '%
' .. + 'Temperature: ' .. to_celcius(resp.main.temp) .. '
' .. + 'Pressure: ' .. resp.main.pressure .. 'hPa
' .. + 'Clouds: ' .. resp.clouds.all .. '%
' .. + 'Wind: ' .. resp.wind.speed .. 'm/s (' .. to_direction(resp.wind.deg) .. ')', timeout = 5, hover_timeout = 10, width = 200 } -- cgit v1.2.3