Fix spelling mistake: Emtpy -> Empty

This commit is contained in:
Stefano Mazzucco 2020-04-10 07:23:50 +01:00
parent 5a7b421abb
commit ca6fb9dd7a
2 changed files with 28 additions and 1 deletions

View File

@ -97,7 +97,7 @@ local function update_tooltip(widget)
local when
if device.type == power.enums.DeviceType.Battery then
if device.TimeToEmpty > 0 then
what = "Emtpy"
what = "Empty"
when = device.TimeToEmpty
elseif device.TimeToFull > 0 then
what = "Full"

View File

@ -0,0 +1,27 @@
package = "power_widget"
version = "0.5.4-1"
source = {
url = "git://github.com/stefano-m/awesome-power_widget",
tag = "v0.5.4"
}
description = {
summary = "A Power widget for the Awesome Window Manager",
detailed = [[
Monitor your power devices in Awesome with UPower and DBus.
]],
homepage = "https://github.com/stefano-m/awesome-power_widget",
license = "GPL v3"
}
supported_platforms = {
"linux"
}
dependencies = {
"lua >= 5.1",
"upower_dbus"
}
build = {
type = "builtin",
modules = {
power_widget = "power_widget.lua"
}
}