Display the notification on the current screen
This commit is contained in:
parent
34598dca85
commit
92e411da97
|
@ -84,6 +84,7 @@ local function worker(args)
|
|||
position = position,
|
||||
timeout = 5, hover_timeout = 0.5,
|
||||
width = 200,
|
||||
screen = mouse.screen
|
||||
}
|
||||
end
|
||||
)
|
||||
|
@ -109,6 +110,7 @@ local function worker(args)
|
|||
bg = "#F06060",
|
||||
fg = "#EEE9EF",
|
||||
width = 300,
|
||||
screen = mouse.screen
|
||||
}
|
||||
end
|
||||
local last_battery_check = os.time()
|
||||
|
|
|
@ -81,6 +81,7 @@ local function notif(msg, keep)
|
|||
position = volume.position,
|
||||
timeout = keep and 0 or 2, hover_timeout = 0.5,
|
||||
width = 200,
|
||||
screen = mouse.screen
|
||||
}
|
||||
end
|
||||
end
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue