summaryrefslogtreecommitdiff
path: root/weather-widget
diff options
context:
space:
mode:
authorAurélien LAJOIE <orel@melix.net>2020-04-15 19:00:10 +0200
committerAurélien LAJOIE <orel@melix.net>2020-04-15 19:00:10 +0200
commit92e411da972fe8a2ab0297c01e96ab76d72e498e (patch)
tree92038c2135f9b231d5efec88352f0923a5b4e4d0 /weather-widget
parent34598dca85565bf3b051a9f14d9b945c087f6fd1 (diff)
Display the notification on the current screen
Diffstat (limited to 'weather-widget')
-rw-r--r--weather-widget/weather.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/weather-widget/weather.lua b/weather-widget/weather.lua
index 6fafa97..5aaf426 100644
--- a/weather-widget/weather.lua
+++ b/weather-widget/weather.lua
@@ -210,6 +210,7 @@ local function worker(args)
'<b>Wind:</b> ' .. resp.wind.speed .. 'm/s (' .. to_direction(resp.wind.deg) .. ')',
timeout = 5, hover_timeout = 10,
position = position,
+ screen = mouse.screen,
width = (both_units_popup == true and 210 or 200)
}
end)