summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSviatoslav Sydorenko <wk@sydorenko.org.ua>2018-03-21 19:18:11 +0100
committerSviatoslav Sydorenko <wk@sydorenko.org.ua>2018-03-21 19:18:11 +0100
commit2e12e47eb1176e752d7be381b877d65f24c4087d (patch)
tree5f45c9e20a37278e51b948b0383dc9fac032425a
parent1381ea5275092dd5e0c40c7aa403cc669910ca13 (diff)
Beautify pop-up code style
-rw-r--r--weather-widget/weather.lua12
1 files 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 =
- '<big>' .. resp.weather[1].main .. ' (' .. resp.weather[1].description .. ')</big><br>' ..
- '<b>Humidity:</b> ' .. resp.main.humidity .. '%<br>' ..
- '<b>Temperature: </b>' .. to_celcius(resp.main.temp) .. '<br>' ..
- '<b>Pressure: </b>' .. resp.main.pressure .. 'hPa<br>' ..
- '<b>Clouds: </b>' .. resp.clouds.all .. '%<br>' ..
- '<b>Wind: </b>' .. resp.wind.speed .. 'm/s (' .. to_direction(resp.wind.deg) .. ')',
+ '<big>' .. resp.weather[1].main .. ' (' .. resp.weather[1].description .. ')</big><br>' ..
+ '<b>Humidity:</b> ' .. resp.main.humidity .. '%<br>' ..
+ '<b>Temperature: </b>' .. to_celcius(resp.main.temp) .. '<br>' ..
+ '<b>Pressure: </b>' .. resp.main.pressure .. 'hPa<br>' ..
+ '<b>Clouds: </b>' .. resp.clouds.all .. '%<br>' ..
+ '<b>Wind: </b>' .. resp.wind.speed .. 'm/s (' .. to_direction(resp.wind.deg) .. ')',
timeout = 5, hover_timeout = 10,
width = 200
}