Merge pull request #3819 from HoNamDuong/master

fix(awful.key.keygroups): can't use 0 . key
This commit is contained in:
mergify[bot] 2023-06-14 06:02:43 +00:00 committed by GitHub
commit 0e5fc4575a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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})