Update battery.lua

This commit is contained in:
Pavel Makhov 2015-12-25 23:28:08 +01:00
parent fa9e92be98
commit 68c48c0a73

View file

@ -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()