summaryrefslogtreecommitdiff
path: root/weather-widget/weather.lua
diff options
context:
space:
mode:
Diffstat (limited to 'weather-widget/weather.lua')
-rw-r--r--weather-widget/weather.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/weather-widget/weather.lua b/weather-widget/weather.lua
index 0762073..43158a9 100644
--- a/weather-widget/weather.lua
+++ b/weather-widget/weather.lua
@@ -52,7 +52,7 @@ local icon_map = {
["50n"] = "weather-fog-symbolic.svg"
}
--- handy function to convert temperatire in Kelvin to Celcius
+-- handy function to convert temperature from Kelvin to Celcius
function to_celcius(kelvin)
return math.floor(tonumber(kelvin) - 273.15)
end
@@ -76,4 +76,4 @@ weather_widget:connect_signal("mouse::enter", function()
timeout = 5, hover_timeout = 0.5,
width = 200,
}
-end) \ No newline at end of file
+end)