Update battery.lua
This commit is contained in:
parent
fa9e92be98
commit
68c48c0a73
|
@ -20,8 +20,9 @@ function showWarningWidgetPopup()
|
||||||
title = "Battery dying",
|
title = "Battery dying",
|
||||||
timeout = 5, hover_timeout = 0.5,
|
timeout = 5, hover_timeout = 0.5,
|
||||||
position = "bottom_right",
|
position = "bottom_right",
|
||||||
bg = "#ff1122",
|
bg = "#F06060",
|
||||||
width = 160,
|
fg = "#EEE9EF",
|
||||||
|
width = 200,
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -52,4 +53,4 @@ batteryWidgetTimer:start()
|
||||||
-- timer to refresh battery warning
|
-- timer to refresh battery warning
|
||||||
batteryWarningTimer = timer({ timeout = 50 })
|
batteryWarningTimer = timer({ timeout = 50 })
|
||||||
batteryWarningTimer:connect_signal("timeout", function() showWarningWidgetPopup() end)
|
batteryWarningTimer:connect_signal("timeout", function() showWarningWidgetPopup() end)
|
||||||
batteryWarningTimer:start()
|
batteryWarningTimer:start()
|
||||||
|
|
Loading…
Reference in New Issue