mirror of
https://github.com/streetturtle/awesome-wm-widgets.git
synced 2024-11-17 07:49:09 +01:00
fix typos in lua doc
This commit is contained in:
parent
1e540af00b
commit
b1a4270c4d
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
end)
|
||||
|
|
Loading…
Reference in a new issue