fix(awful.key.keygroups): can't use 0 . key

This commit is contained in:
HoNamDuong 2023-06-06 22:59:42 +07:00
parent 485661b706
commit 96bdf0af44
1 changed files with 1 additions and 1 deletions

View File

@ -397,7 +397,7 @@ key.keygroups = {
-- Technically, this isn't very popular, but we have been doing this for 12
-- years and nobody complained too loudly.
for i = 1, 10 do
table.insert(key.keygroups.numrow, {"#" .. i + 9, i == 10 and 0 or i})
table.insert(key.keygroups.numrow, {"#" .. i + 9, i})
end
for i = 1, 35 do
table.insert(key.keygroups.fkeys, {"F" .. i, "F" .. i})