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